summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pwc/pwc-v4l.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-11 08:46:44 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 07:04:45 -0300
commitbd7e31bbade02bc1e92aa00d5cf2cee2da66838a (patch)
tree4ce3986dcb43f89fe9b231beca3ed42b6611bac4 /drivers/media/usb/pwc/pwc-v4l.c
parent54221e7248a66e1748f4bc93790042294bb6914b (diff)
[media] ir-core: fix gcc-7 warning on bool arithmetic
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: 21677cfc562a ("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>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-v4l.c')
0 files changed, 0 insertions, 0 deletions