]> git.baikalelectronics.ru Git - kernel.git/commit
tools/net: Use bitwise instead of arithmetic operator for flags
authorjing yangyang <jing.yangyang@zte.com.cn>
Fri, 20 Aug 2021 03:35:27 +0000 (20:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:55:53 +0000 (14:55 +0100)
commit914dbdba1399f3a75cfea9b9b858521c05193021
tree102569d09c28a62189959ad6ec3799924445af9f
parent203cbe9e0ce7ca120fa4e3e18203895ef355ab24
tools/net: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:

"WARNING: sum of probable bitmasks, consider |"

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/psock_fanout.c