Commit
1dcc41bb037533839753df983d31778b30b67d93
Exists in
master
and in
20 other branches
dlt-processor-sdk-linux-03.00.00.04, newt-ti-linux-3.12.y, processor-sdk-linux-01.00.00, processor-sdk-linux-02.00.01, smarc-ti-linux-3.12.10, smarc-ti-linux-3.12.y, smarc-ti-linux-3.14.y, smarc-ti-linux-3.15.y, smarc-ti-lsk-linux-4.1.y, smarct3x-processor-sdk-04.01.00.06, smarct3x-processor-sdk-linux-02.00.01, smarct3x-processor-sdk-linux-03.00.00.04, smarct4x-800-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-04.01.00.06, smarct4x-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-linux-03.00.00.04, ti-linux-3.12.y, ti-linux-3.14.y, ti-linux-3.15.y, ti-lsk-linux-4.1.y
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>
Showing
2 changed files
with
2 additions
and
2 deletions
Side-by-side Diff
... |
... |
@@ -19,7 +19,7 @@ |
19
|
19 |
*/ |
20
|
20 |
static inline int |
21
|
21 |
fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, |
22
|
|
- compat_uptr_t __user *head, int *pi) |
|
22 |
+ compat_uptr_t __user *head, unsigned int *pi) |
23
|
23 |
{ |
24
|
24 |
if (get_user(*uentry, head)) |
25
|
25 |
return -EFAULT; |