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

Commit 27d16d08 authored by David Daney's avatar David Daney Committed by Linus Torvalds
Browse files

avr32: Convert BUG() to use unreachable()



Use the new unreachable() macro instead of for(;;);

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Acked-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5506e689
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@
#define BUG()								\
	do {								\
		_BUG_OR_WARN(0);					\
		for (;;);						\
		unreachable();						\
	} while (0)

#define WARN_ON(condition)							\