diff options
| author | 2023-10-11 16:37:08 +1100 | |
|---|---|---|
| committer | 2023-10-19 17:16:20 +1100 | |
| commit | c6519c6df0722e432f330afbc7c00d16d5be5c58 (patch) | |
| tree | 9c511bef1cde73d8e65d783705edc991160dab80 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | powerpc/opal: Annotate out param endianness (diff) | |
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 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
