aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorBen Dooks <[email protected]>2022-12-29 17:05:45 +0000
committerPalmer Dabbelt <[email protected]>2023-01-05 20:30:41 +0000
commitb9b916aee6715cd7f3318af6dc360c4729417b94 (patch)
tree32cc8c04daa042a99e9ca6c530757984d1f71089 /tools/perf/scripts/python/flamegraph.py
parentriscv, kprobes: Stricter c.jr/c.jalr decoding (diff)
downloadkernel-b9b916aee6715cd7f3318af6dc360c4729417b94.tar.gz
kernel-b9b916aee6715cd7f3318af6dc360c4729417b94.zip
riscv: uaccess: fix type of 0 variable on error in get_user()
If the get_user(x, ptr) has x as a pointer, then the setting of (x) = 0 is going to produce the following sparse warning, so fix this by forcing the type of 'x' when access_ok() fails. fs/aio.c:2073:21: warning: Using plain integer as NULL pointer Signed-off-by: Ben Dooks <[email protected]> Reviewed-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions