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)
commitfa16ee77364f03d8565e5adeff1b119b29acca69
tree102569d09c28a62189959ad6ec3799924445af9f
parentc1125062fb4074fade7fa1114b9746a6620eb5bf
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