projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: dts: imx: Fix pca9547 i2c-mux node name
[platform/kernel/linux-starfive.git]
/
mm
/
usercopy.c
diff --git
a/mm/usercopy.c
b/mm/usercopy.c
index
4e1da70
..
c1ee15a
100644
(file)
--- a/
mm/usercopy.c
+++ b/
mm/usercopy.c
@@
-161,7
+161,7
@@
static inline void check_bogus_address(const unsigned long ptr, unsigned long n,
static inline void check_heap_object(const void *ptr, unsigned long n,
bool to_user)
{
- u
intptr_t addr = (uintptr_t
)ptr;
+ u
nsigned long addr = (unsigned long
)ptr;
unsigned long offset;
struct folio *folio;