diff options
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 24ef5a018a5e..a3b59d143afb 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -48,8 +48,8 @@ | |||
| 48 | 48 | ||
| 49 | #define u64_to_user_ptr(x) ( \ | 49 | #define u64_to_user_ptr(x) ( \ |
| 50 | { \ | 50 | { \ |
| 51 | typecheck(u64, x); \ | 51 | typecheck(u64, (x)); \ |
| 52 | (void __user *)(uintptr_t)x; \ | 52 | (void __user *)(uintptr_t)(x); \ |
| 53 | } \ | 53 | } \ |
| 54 | ) | 54 | ) |
| 55 | 55 | ||
