Commit 35efbcab authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

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

Signed-off-by: default avatarAl Viro <>
Cc: Roman Zippel <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent a5d361fc
......@@ -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__
" tstl %2\n"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment