projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler.h, bug.h: prevent double error messages with BUILD_BUG{,_ON}
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
linux
/
bug.h
diff --git
a/include/linux/bug.h
b/include/linux/bug.h
index
73af37c
..
dc11dc7
100644
(file)
--- a/
include/linux/bug.h
+++ b/
include/linux/bug.h
@@
-67,7
+67,7
@@
struct pt_regs;
__compiletime_error("BUILD_BUG_ON failed"); \
if (__cond) \
__build_bug_on_failed(); \
-
((void)sizeof(char[1 - 2 * __cond])
); \
+
__compiletime_error_fallback(__cond
); \
} while (0)
#endif