]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DaVinci-VPIF-Capture: Adjust ten checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 13:20:34 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 15:00:30 +0000 (13:00 -0200)
commit848da54e4f80d4317c50f36a9fcd72703c507c0a
treeb96e9d0d634127707f7be59872cd020a5d507295
parent6a1a11c9fd44db1abfa8ce54773204ccd1132837
[media] DaVinci-VPIF-Capture: Adjust ten 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpif_capture.c