]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: fix "Boolean result is used in bitwise operation" warning
authorIlya Dryomov <idryomov@gmail.com>
Wed, 20 Jan 2021 13:49:07 +0000 (14:49 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Jan 2021 15:49:59 +0000 (16:49 +0100)
commit1dfabdbad8a2ffc0078ac41f5ebac2abcf3429fb
treee22d6b87aa4ea94b2cb458aa9fc9b35d0e5a4e19
parente89accfbde37dd4aca773b467be717eeea5981d3
libceph: fix "Boolean result is used in bitwise operation" warning

This line dates back to 2013, but cppcheck complained because commit
b27c4137ed93 ("libceph: move msgr1 protocol implementation to its own
file") moved it.  Add parenthesis to silence the warning.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger_v1.c