Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b9329367504d19c7c166c5aec557d070caccd70 Commit: 2b9329367504d19c7c166c5aec557d070caccd70 Parent: 46b05d2617c8efd8ec6b19acd2c95541a0118c13 Author: Michael Holzheu <[EMAIL PROTECTED]> AuthorDate: Wed Feb 21 10:55:24 2007 +0100 Committer: Martin Schwidefsky <[EMAIL PROTECTED]> CommitDate: Wed Feb 21 10:55:24 2007 +0100
[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 <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/ipl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html