OSDN Git Service

Merge tag 'v5.1-rc5' into for-5.2/block
[tomoyo/tomoyo-test1.git] / include / linux / kernel.h
index 24ef5a0..a3b59d1 100644 (file)
@@ -48,8 +48,8 @@
 
 #define u64_to_user_ptr(x) (           \
 {                                      \
-       typecheck(u64, x);              \
-       (void __user *)(uintptr_t)x;    \
+       typecheck(u64, (x));            \
+       (void __user *)(uintptr_t)(x);  \
 }                                      \
 )