projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b05d2
)
[S390] Remove BUG() statement
author
Michael Holzheu
<holzheu@de.ibm.com>
Wed, 21 Feb 2007 09:55:24 +0000
(10:55 +0100)
committer
Martin 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/kernel/ipl.c
b/arch/s390/kernel/ipl.c
index a2410423c226007fbdbcc51132a582474ce39bf0..ee6826a52d26faf25f0153abcf9409821b7fc196 100644
(file)
--- 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
;
}
}