diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-09-14 14:43:46 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-09-18 12:19:21 +0200 |
commit | 1dcc41bb037533839753df983d31778b30b67d93 (patch) | |
tree | d35907b7c569ebc2ac80ca26ca44f0cbc4f66ecb /kernel/futex_compat.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff) | |
download | linux-1dcc41bb037533839753df983d31778b30b67d93.tar.xz linux-1dcc41bb037533839753df983d31778b30b67d93.zip |
futex: Change 3rd arg of fetch_robust_entry() to unsigned int*
Sparse complains:
kernel/futex.c:2495:59: warning: incorrect type in argument 3 (different signedness)
Make 3rd argument of fetch_robust_entry() 'unsigned int'.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Darren Hart <dvhltc@us.ibm.com>
LKML-Reference: <1284468228-8723-1-git-send-email-namhyung@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/futex_compat.c')
-rw-r--r-- | kernel/futex_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c index d49afb2395e5..06da4dfc339b 100644 --- a/kernel/futex_compat.c +++ b/kernel/futex_compat.c @@ -19,7 +19,7 @@ */ static inline int fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, - compat_uptr_t __user *head, int *pi) + compat_uptr_t __user *head, unsigned int *pi) { if (get_user(*uentry, head)) return -EFAULT; |