]> git.baikalelectronics.ru Git - kernel.git/commit
[media] saa7134: add test after for loop
authorDan Carpenter <error27@gmail.com>
Mon, 4 Oct 2010 19:28:01 +0000 (16:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:54:19 +0000 (07:54 -0200)
commit5524336e776546e29df6a5e87fd6d402dd388445
treea76eb3b9b64d9b12adac36187f089a96413d0f78
parent9e947cddb66bec3e9618bdea76cdf4eee5b8fa08
[media] saa7134: add test after for loop

Add a check after the for loops to see if we found what we were looking
for or if we reached the end of the list.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-video.c