summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-08-03 16:38:36 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:09 -0400
commit77212d3a76a4becabeac8736b686a533dd75913b (patch)
treeb30b3578d6cf6c818d8556ef963cfcc789885655 /tools/perf/scripts/python/bin/flamegraph-report
parent6c6439650ec913c83d48055da63b8f204075afb7 (diff)
downloadlinux-77212d3a76a4becabeac8736b686a533dd75913b.tar.gz
linux-77212d3a76a4becabeac8736b686a533dd75913b.zip
bcachefs: Fix shift by 64 in set_inc_field()
UBSAN was complaining about a shift by 64 in set_inc_field(). This only happened when the value being shifted was 0, so in theory should be harmless - a shift by 64 (or register width) should logically give a result of 0, but CPUs will in practice leave the input unchanged when the number of bits to shift by wraps - and since our input here is 0, the output is still what we want. But, it's still undefined behaviour and we need our UBSAN output to be clean, so it needs to be fixed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions