* [PATCH 34/41] m68k: cast in strnlen switched to unsigned long
@ 2006-01-03 23:29 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-01-03 23:29 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, linux-m68k
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 1135012341 -0500
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
include/asm-m68k/uaccess.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
db2c42670cf6d3dcab286b15d4947de579a34172
diff --git a/include/asm-m68k/uaccess.h b/include/asm-m68k/uaccess.h
index a653bf8..2ffd87b 100644
--- a/include/asm-m68k/uaccess.h
+++ b/include/asm-m68k/uaccess.h
@@ -805,7 +805,7 @@ static inline long strnlen_user(const ch
{
long res;
- res = -(long)src;
+ res = -(unsigned long)src;
__asm__ __volatile__
("1:\n"
" tstl %2\n"
--
0.99.9.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-03 23:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-03 23:29 [PATCH 34/41] m68k: cast in strnlen switched to unsigned long Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®