aboutsummaryrefslogtreecommitdiffstats
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-06-16 14:36:17 +0000
committerKees Cook <[email protected]>2022-07-02 00:03:38 +0000
commit170b2c350cfcb6f74074e44dd9f916787546db0d (patch)
tree16d6965263382368d7e3f3bde14b353f9fd39c92 /lib/overflow_kunit.c
parentLinux 5.19-rc3 (diff)
downloadkernel-170b2c350cfcb6f74074e44dd9f916787546db0d.tar.gz
kernel-170b2c350cfcb6f74074e44dd9f916787546db0d.zip
usercopy: use unsigned long instead of uintptr_t
A recent commit factored out a series of annoying (unsigned long) casts into a single variable declaration, but made the pointer type a `uintptr_t` rather than the usual `unsigned long`. This patch changes it to be the integer type more typically used by the kernel to represent addresses. Fixes: 35fb9ae4aa2e ("usercopy: Cast pointer to an integer once") Cc: Matthew Wilcox <[email protected]> Cc: Uladzislau Rezki <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions