aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-18 11:15:54 +0100
committerGreg Kroah-Hartman <[email protected]>2019-06-20 14:39:16 +0200
commitd326d99aa00f284e4320aededb3f7c663f5b4c87 (patch)
treea93d31c5554d5d446876fc86507a360cf0322fa3 /tools/perf/scripts/python/event_analyzing_sample.py
parenta50185cbb383f29543a86ff238fff13ec850dbf9 (diff)
staging: kpc2000: fix integer overflow with left shifts
Currently there are several left shifts that are assigned to 64 bit unsigned longs where a signed int 1 is being shifted, resulting in an integer overflow. Fix this bit using the BIT_ULL macro to perform a 64 bit shift. Also clean up an overly long statement. Addresses-Coverity: ("Unintentional integer overflow") Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions