linux/bug.h: correct "(foo*)" should be "(foo *)"
PATCH 76/115 linux/bug.h: correct "(foo*)" should be "(foo *)"
From: Ian Abbott <[email protected]>
Subject: linux/bug.h: correct "(foo*)" should be "(foo *)"
Correct this checkpatch.pl error:
|ERROR: "(foo*)" should be "(foo *)" |#19: FILE: include/linux/bug.h:19: |+#define BUILD_BUG_ON_NULL(e) ((void*)0)
Signed-off-by Ian Abbott <[email protected]>
Cc Kees Cook <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Rasmus Villemoes <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/bug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/bug.h renamed from include/linux/bug.h~linux-bugh-correct-foo-should-be-foo +1 -1
@@ -16,7 +16,7 @@ struct pt_regs;#define __BUILD_BUG_ON_NOT_POWER_OF_2 (n) (0)#define BUILD_BUG_ON_NOT_POWER_OF_2 (n) (0)#define BUILD_BUG_ON_ZERO (e) (0) -#define BUILD_BUG_ON_NULL (e) ((void*)0) +#define BUILD_BUG_ON_NULL (e) ((void *)0)#define BUILD_BUG_ON_INVALID (e) (0)#define BUILD_BUG_ON_MSG (cond, msg) (0)#define BUILD_BUG_ON (condition) (0)
_