OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[uclinux-h8/linux.git]
/
drivers
/
firmware
/
efi
/
efi.c
diff --git
a/drivers/firmware/efi/efi.c
b/drivers/firmware/efi/efi.c
index
9fa8084
..
d6144e3
100644
(file)
--- a/
drivers/firmware/efi/efi.c
+++ b/
drivers/firmware/efi/efi.c
@@
-58,6
+58,11
@@
bool efi_runtime_disabled(void)
static int __init parse_efi_cmdline(char *str)
{
+ if (!str) {
+ pr_warn("need at least one option\n");
+ return -EINVAL;
+ }
+
if (parse_option_str(str, "noruntime"))
disable_runtime = true;