]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: drivers: Adjust checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 28 Aug 2017 10:50:28 +0000 (06:50 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 12:20:57 +0000 (08:20 -0400)
commitaf28c99628ebfbdc3fff3d92c7044d3a51b7ccea
treeff56a13fbd5ed6c2bb20a746464fd49fb0199c48
parent2d3da59ff163b2aa805de0fc65ba933a735b00cd
media: drivers: Adjust 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 <hansverk@cisco.com>
drivers/media/common/siano/smscoreapi.c
drivers/media/dvb-frontends/drxd_hard.c
drivers/media/dvb-frontends/sp2.c
drivers/media/i2c/adv7604.c
drivers/media/pci/cx18/cx18-driver.c
drivers/media/pci/mantis/hopper_cards.c
drivers/media/platform/atmel/atmel-isc.c
drivers/media/platform/atmel/atmel-isi.c
drivers/media/usb/zr364xx/zr364xx.c