Skip to content
Snippets Groups Projects
Commit 64a2b168 authored by David Daney's avatar David Daney Committed by Mike Frysinger
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define BUG() \ #define BUG() \
do { \ do { \
_BUG_OR_WARN(0); \ _BUG_OR_WARN(0); \
for (;;); \ unreachable(); \
} while (0) } while (0)
#define WARN_ON(condition) \ #define WARN_ON(condition) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment