aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2022-02-14 19:22:10 +0000
committerArnd Bergmann <[email protected]>2022-02-25 08:36:05 +0000
commit23fc539e81295b14b50c6ccc5baeb4f3d59d822d (patch)
treec4efbc0e265a797a6284fa49a66c19b16b6c5005 /lib/strncpy_from_user.c
parentarm64: simplify access_ok() (diff)
downloadkernel-23fc539e81295b14b50c6ccc5baeb4f3d59d822d.tar.gz
kernel-23fc539e81295b14b50c6ccc5baeb4f3d59d822d.zip
uaccess: fix type mismatch warnings from access_ok()
On some architectures, access_ok() does not do any argument type checking, so replacing the definition with a generic one causes a few warnings for harmless issues that were never caught before. Fix the ones that I found either through my own test builds or that were reported by the 0-day bot. Reported-by: kernel test robot <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions