Use the new unreachable() macro instead of while(1). Signed-off-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx> CC: David Howells <dhowells@xxxxxxxxxx> CC: Koichi Yasutake <yasutake.koichi@xxxxxxxxxxxxxxxx> CC: linux-am33-list@xxxxxxxxxx --- arch/mn10300/include/asm/bug.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/mn10300/include/asm/bug.h b/arch/mn10300/include/asm/bug.h index aa6a388..447a7e6 100644 --- a/arch/mn10300/include/asm/bug.h +++ b/arch/mn10300/include/asm/bug.h @@ -27,7 +27,8 @@ do { \ : \ : "i"(__FILE__), "i"(__LINE__) \ ); \ -} while (1) + unreachable(); \ +} while (0) #define HAVE_ARCH_BUG #endif /* CONFIG_BUG */ -- 1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html