提交 a737abd1 编写于 作者: C Cyrill Gorcunov 提交者: Ingo Molnar

x86: e820 memmap - add checking for NULL early param

Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: akpm@linux-foundation.org
Cc: andi@firstfloor.org
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c22d4c18
......@@ -1198,6 +1198,9 @@ static int __init parse_memmap_opt(char *p)
char *oldp;
u64 start_at, mem_size;
if (!p)
return -EINVAL;
if (!strcmp(p, "exactmap")) {
#ifdef CONFIG_CRASH_DUMP
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册