OpenCloudOS-Kernel/drivers/media/pci/cobalt
Daniel W. S. Almeida 7f98818704 media: pci: cobalt-i2c.c: fix comparison of 0/1 to bool variable
Fix the following coccinelle reports:

drivers/media/pci/cobalt/cobalt-i2c.c:176:16-21: WARNING:
Comparison of 0/1 to bool variable
drivers/media/pci/cobalt/cobalt-i2c.c:180:29-33: WARNING:
Comparison of 0/1 to bool variable
drivers/media/pci/cobalt/cobalt-i2c.c:121:16-21: WARNING:
Comparison of 0/1 to bool variable
drivers/media/pci/cobalt/cobalt-i2c.c:125:29-33: WARNING:
Comparison of 0/1 to bool variable

Found using - Coccinelle (http://coccinelle.lip6.fr)

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-29 08:04:01 +02:00
..
Kconfig media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
Makefile media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-alsa-main.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cobalt-alsa-pcm.c media: cobalt: Drop superfluous ioctl PCM ops 2019-12-13 09:33:12 +01:00
cobalt-alsa-pcm.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-alsa.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-cpld.c media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-cpld.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-driver.c media: adv7511/cobalt: rename driver name to adv7511-v4l2 2019-08-07 17:07:29 -03:00
cobalt-driver.h media: use the BIT() macro 2019-08-26 14:08:50 -03:00
cobalt-flash.c media: cobalt: remove redundant assignment to variable data 2019-07-23 08:52:13 -04:00
cobalt-flash.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-i2c.c media: pci: cobalt-i2c.c: fix comparison of 0/1 to bool variable 2020-08-29 08:04:01 +02:00
cobalt-i2c.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-irq.c media: cobalt: replace VB2_BUF_STATE_REQUEUEING by _ERROR 2019-03-19 13:50:38 -04:00
cobalt-irq.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-omnitek.c media: cobalt: cobalt-omnitek.c: fix comparison to bool 2020-08-29 07:47:23 +02:00
cobalt-omnitek.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
cobalt-v4l2.c media: media/pci: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:53:50 +01:00
cobalt-v4l2.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00233_video_measure_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00235_fdma_packer_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00389_cvi_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00460_evcnt_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00473_freewheel_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00479_clk_loss_detector_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00
m00514_syncgen_flow_evcnt_memmap_package.h media: cobalt: add SPDX license info 2018-02-14 13:15:33 -05:00