From: Michael Holzheu Date: Wed, 21 Feb 2007 09:55:24 +0000 (+0100) Subject: [S390] Remove BUG() statement X-Git-Tag: v2.6.21-rc2~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b9329367504d19c7c166c5aec557d070caccd70;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [S390] Remove BUG() statement To avoid ugly warings for older gccs, we replace BUG() with "return NULL", which is just as well. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index a241042..ee6826a 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c @@ -91,7 +91,7 @@ static char *shutdown_action_str(enum shutdown_action action) case SHUTDOWN_STOP: return SHUTDOWN_STOP_STR; default: - BUG(); + return NULL; } }