提交 35efbcab 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] m68k: cast in strnlen switched to unsigned long

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 a5d361fc
...@@ -805,7 +805,7 @@ static inline long strnlen_user(const char __user *src, long n) ...@@ -805,7 +805,7 @@ static inline long strnlen_user(const char __user *src, long n)
{ {
long res; long res;
res = -(long)src; res = -(unsigned long)src;
__asm__ __volatile__ __asm__ __volatile__
("1:\n" ("1:\n"
" tstl %2\n" " tstl %2\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册