]> git.baikalelectronics.ru Git - kernel.git/commit
media: usbvision: Adjust eight checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 26 Aug 2017 20:16:52 +0000 (16:16 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 27 Aug 2017 12:48:16 +0000 (08:48 -0400)
commit76b33eeb0e1acdc3155bdf5976633c3e5978896b
treeb3c32abb5b24cf1837b8ada7905e9d34a89693d0
parent5fb299013731e9e26932bc956cb80f22c05c732e
media: usbvision: Adjust eight checks for null pointers

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written !…

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/usbvision/usbvision-video.c