diff --git a/include/linux/kernel.h b/include/linux/kernel.h index d6aac75b51baab469d05ad6ca816b46bcd590906..3d83ebb302cfdaa8f5a2e52c65985d03e9102bd1 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -73,8 +73,8 @@ #define u64_to_user_ptr(x) ( \ { \ - typecheck(u64, x); \ - (void __user *)(uintptr_t)x; \ + typecheck(u64, (x)); \ + (void __user *)(uintptr_t)(x); \ } \ )