aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2020-08-29 11:24:03 +0300
committerOded Gabbay <[email protected]>2020-09-22 18:49:51 +0300
commitf763946aefe67b3ea58696b75a930ba1ed886a83 (patch)
tree1976f43f7462efc719f263b450baf10ff4dd7064 /tools/perf/scripts/python/bin
parent2f55342c5e4d3ea94c0b8237f3ad26963269f90f (diff)
habanalabs: cast to u64 before shift > 31 bits
When shifting a boolean variable by more than 31 bits and putting the result into a u64 variable, we need to cast the boolean into unsigned 64 bits to prevent possible overflow. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions