mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
[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>
This commit is contained in:
parent
46b05d2617
commit
2b93293675
@ -91,7 +91,7 @@ static char *shutdown_action_str(enum shutdown_action action)
|
||||
case SHUTDOWN_STOP:
|
||||
return SHUTDOWN_STOP_STR;
|
||||
default:
|
||||
BUG();
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user