diff options
author | 2016-02-05 16:30:39 +0000 | |
---|---|---|
committer | 2016-02-13 06:05:41 -0500 | |
commit | 19a6d156a7bd080f3a855a40a4a08ab475e34b4a (patch) | |
tree | b23da02c6fb0f0157f0d632adeff4eed06672e2e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | hv_netvsc: Restore needed_headroom request (diff) | |
download | linux-dev-19a6d156a7bd080f3a855a40a4a08ab475e34b4a.tar.xz linux-dev-19a6d156a7bd080f3a855a40a4a08ab475e34b4a.zip |
net: cavium: liquidio: fix check for in progress flag
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions