summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorBenjamin Gray <bgray@linux.ibm.com>2023-10-11 08:37:08 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-10-19 09:16:20 +0300
commitc6519c6df0722e432f330afbc7c00d16d5be5c58 (patch)
tree9c511bef1cde73d8e65d783705edc991160dab80 /scripts/gdb/linux/timerlist.py
parent8577dd00a6ba335bc359313599d6100522a1931c (diff)
downloadlinux-c6519c6df0722e432f330afbc7c00d16d5be5c58.tar.xz
powerpc/uaccess: Cast away __user annotation after verification
Sparse reports dereference of a __user pointer. copy_mc_to_user() takes a __user pointer, verifies it, then calls the generic copy routine copy_mc_generic(). As we have verified the pointer, cast out the __user annotation when passing to copy_mc_generic(). Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231011053711.93427-10-bgray@linux.ibm.com
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions