Skip to contentSkip to conversation

linux/bug.h: correct "(foo*)" should be "(foo *)"

PATCH New [email protected] 1 participant 1 message Jul 10, 2017

lore
Share & tools
lore
#0 lore raw

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)

---

 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
diff -puN include/linux/bug.h~linux-bugh-correct-foo-should-be-foo include/linux/bug.h
@@ -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)

_