projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d361f
)
[PATCH] m68k: cast in strnlen switched to unsigned long
author
Al Viro
<viro@ftp.linux.org.uk>
Thu, 12 Jan 2006 09:06:34 +0000
(
01:06
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:09:04 +0000
(09:09 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68k/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-m68k/uaccess.h
b/include/asm-m68k/uaccess.h
index a653bf80b8485a90334504e47c365e1b0319fc82..2ffd87b0a7694894547e5672655339c3062af058 100644
(file)
--- a/
include/asm-m68k/uaccess.h
+++ b/
include/asm-m68k/uaccess.h
@@
-805,7
+805,7
@@
static inline long strnlen_user(const char __user *src, long n)
{
long res;
- res = -(long)src;
+ res = -(
unsigned
long)src;
__asm__ __volatile__
("1:\n"
" tstl %2\n"