Commit 64a2b168 authored by David Daney's avatar David Daney Committed by Mike Frysinger

Blackfin: Convert BUG() to use unreachable()

Use the new unreachable() macro instead of for(;;);
Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 5540a44e
......@@ -47,7 +47,7 @@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
for (;;); \
unreachable(); \
} while (0)
#define WARN_ON(condition) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment