projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d5a48
)
linux/bug.h: correct "(foo*)" should be "(foo *)"
author
Ian Abbott
<
[email protected]
>
Mon, 10 Jul 2017 22:51:01 +0000
(15:51 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 10 Jul 2017 23:32:34 +0000
(16:32 -0700)
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)
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ian Abbott <
[email protected]
>
Acked-by: Michal Nazarewicz <
[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]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/bug.h
patch
|
blob
|
history
diff --git
a/include/linux/bug.h
b/include/linux/bug.h
index ca24007e2dc363d5d2aea04d20adafc1e9839203..216a1b79653d4b139167eb1c462f637971ec3ab6 100644
(file)
--- a/
include/linux/bug.h
+++ b/
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)