diff options
| author | Colin Ian King <colin.king@canonical.com> | 2016-02-05 16:30:39 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-15 08:27:43 +0200 |
| commit | 6d0e49cf1b432a11bf60b9fc2ee41c3e4e0347fe (patch) | |
| tree | 19e24c6049cc481bbbfdff80db7e6c67b5f10bc8 /tools/perf/scripts/python/netdev-times.py | |
| parent | 849e28efb04c4c46f6189f75e30d3f541eb6dfb4 (diff) | |
net: cavium: liquidio: fix check for in progress flag
[ Upstream commit 19a6d156a7bd080f3a855a40a4a08ab475e34b4a ]
smatch detected a suspicious looking bitop condition:
drivers/net/ethernet/cavium/liquidio/lio_main.c:2529
handle_timestamp() warn: suspicious bitop condition
(skb_shinfo(skb)->tx_flags | SKBTX_IN_PROGRESS is always non-zero,
so the logic is definitely not correct. Use & to mask the correct
bit.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
