android_kernel_samsung_msm8976/drivers/media
Arnd Bergmann b2e0de6c5e ir-core: fix gcc-7 warning on bool arithmetic
commit bd7e31bbade02bc1e92aa00d5cf2cee2da66838a upstream.

gcc-7 suggests that an expression using a bitwise not and a bitmask
on a 'bool' variable is better written using boolean logic:

drivers/media/rc/imon.c: In function 'imon_incoming_scancode':
drivers/media/rc/imon.c:1725:22: error: '~' on a boolean expression [-Werror=bool-operation]
    ictx->pad_mouse = ~(ictx->pad_mouse) & 0x1;
                      ^
drivers/media/rc/imon.c:1725:22: note: did you mean to use logical not?

I agree.

Fixes: 21677cfc56 ("V4L/DVB: ir-core: add imon driver")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2019-07-27 21:44:38 +02:00
..
common
dvb-core This is the 3.10.99 stable release 2017-04-18 17:17:46 +02:00
dvb-frontends tda1004x: only update the frontend properties if locked 2016-03-03 15:06:23 -08:00
firewire
i2c
mmc
parport
pci This is the 3.10.102 stable release 2017-04-18 17:22:08 +02:00
platform msm: camera: Return -NOTTY on invalid ioctl command. 2018-05-26 00:39:36 +02:00
radio Merge tag 'LA.BR.1.3.6-04010-8976.0' of https://source.codeaurora.org/quic/la/kernel/msm-3.10 into HEAD 2017-06-09 23:21:11 +02:00
rc ir-core: fix gcc-7 warning on bool arithmetic 2019-07-27 21:44:38 +02:00
tuners xc2028: Fix use-after-free bug properly 2019-07-27 21:43:23 +02:00
usb siano: make it work again with CONFIG_VMAP_STACK 2019-07-27 21:43:54 +02:00
v4l2-core v4l2: Refactor, fix security bug in compat ioctl32 2017-12-22 20:26:04 +00:00
Kconfig
Makefile
media-device.c
media-devnode.c
media-entity.c