[S390] Remove BUG() statement
authorMichael Holzheu <holzheu@de.ibm.com>
Wed, 21 Feb 2007 09:55:24 +0000 (10:55 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 21 Feb 2007 09:55:24 +0000 (10:55 +0100)
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>
arch/s390/kernel/ipl.c

index a2410423c226007fbdbcc51132a582474ce39bf0..ee6826a52d26faf25f0153abcf9409821b7fc196 100644 (file)
@@ -91,7 +91,7 @@ static char *shutdown_action_str(enum shutdown_action action)
        case SHUTDOWN_STOP:
                return SHUTDOWN_STOP_STR;
        default:
-               BUG();
+               return NULL;
        }
 }
 
This page took 0.032062 seconds and 5 git commands to generate.