aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-17 17:12:49 +0100
committerDavid S. Miller <[email protected]>2019-06-18 21:00:40 -0400
commit9476274093a0e79b905f4cd6cf6d149f65e02c17 (patch)
tree85219d8c26c8286bf2fcaa0f504b795fb1b82817 /tools/perf/scripts/python/exported-sql-viewer.py
parent55458d2f4074307c2aa787300c9272ff668a3ac3 (diff)
net: lio_core: fix potential sign-extension overflow on large shift
Left shifting the signed int value 1 by 31 bits has undefined behaviour and the shift amount oq_no can be as much as 63. Fix this by using BIT_ULL(oq_no) instead. Addresses-Coverity: ("Bad shift operation") Fixes: f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions