diff options
author | 2023-11-23 14:27:08 +0000 | |
---|---|---|
committer | 2024-01-09 20:10:18 -0800 | |
commit | 869436dae72acf1629b41437e9d08d31a7360fdb (patch) | |
tree | fb29cefe28756a653a5e218e3f3e4d1c7f625f69 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | riscv: fix __user annotation in traps_misaligned.c (diff) | |
download | wireguard-linux-869436dae72acf1629b41437e9d08d31a7360fdb.tar.xz wireguard-linux-869436dae72acf1629b41437e9d08d31a7360fdb.zip |
riscv; fix __user annotation in save_v_state()
The save_v_state() is technically sending a __user pointer through
__put_user() and thus is generating a sparse warning so force the
value to be "void *" to fix:
arch/riscv/kernel/signal.c:94:16: warning: incorrect type in initializer (different address spaces)
arch/riscv/kernel/signal.c:94:16: expected void *__val
arch/riscv/kernel/signal.c:94:16: got void [noderef] __user *[assigned] datap
Fixes: 8ee0b41898fa26f66e32 ("riscv: signal: Add sigcontext save/restore for vector")
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20231123142708.261733-1-ben.dooks@codethink.co.uk
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions