Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
#define BUG()								\
	do {								\
		_BUG_OR_WARN(0);					\
		for (;;);						\
		unreachable();						\
	} while (0)

#define WARN_ON(condition)							\