aboutsummaryrefslogtreecommitdiff
path: root/drivers/firewire/ohci.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-08-23 15:22:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-23 16:27:07 -0700
commit03fef6c5c2296ee6d43f59af57973e82c229039c (patch)
tree30b674cec8250ca4f507ef51562f489d0ab2c499 /drivers/firewire/ohci.h
parenta084cda42ece32c83c190db0681f4675d9c41021 (diff)
staging: rtlwifi: simplify logical operation
gcc notices a very complicated way to check a value for being equal to one, and warns about it: drivers/staging/rtlwifi/btcoexist/halbtc8822b1ant.c: In function 'halbtc8822b1ant_set_ext_ant_switch': drivers/staging/rtlwifi/btcoexist/halbtc8822b1ant.c:2105:9: error: '~' on a boolean expression [-Werror=bool-operation] ~switch_polatiry_inverse : ^ drivers/staging/rtlwifi/btcoexist/halbtc8822b1ant.c:2105:9: note: did you mean to use logical not? ~switch_polatiry_inverse : ^ This simplifies this expression to make it more readable and to make gcc happy. Fixes: 56bde846304e ("staging: r8822be: Add existing rtlwifi and rtl_pci parts for new driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firewire/ohci.h')
0 files changed, 0 insertions, 0 deletions