diff options
author | Michael Holzheu <holzheu@de.ibm.com> | 2007-02-21 10:55:24 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-21 10:55:24 +0100 |
commit | 2b9329367504d19c7c166c5aec557d070caccd70 (patch) | |
tree | bbd95ecda1e6002630e1bae68213bdeff2a0bdeb /arch/s390/kernel | |
parent | 46b05d2617c8efd8ec6b19acd2c95541a0118c13 (diff) | |
download | op-kernel-dev-2b9329367504d19c7c166c5aec557d070caccd70.zip op-kernel-dev-2b9329367504d19c7c166c5aec557d070caccd70.tar.gz |
[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 <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | 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; } } |