diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-18 08:08:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-18 10:55:42 -0700 |
commit | e146471f588e4b8dcd7994036c1b47cc52325f00 (patch) | |
tree | 234598f895d22c76f3376e4b342c5ba7df40dadf /net/core | |
parent | fa145d5dfd612ac318a1eb4b443af55e0f5c8ba7 (diff) |
net: mvpp2: debugfs: fix incorrect bitwise operator
The use of the | operator always leads to true, which looks rather
suspect in this case.
Fix this by using & instead.
Addresses-Coverity-ID: 1471903 ("Wrong operator used")
Fixes: dba1d918da02 ("net: mvpp2: debugfs: add entries for classifier flows")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions