Commit a737abd1 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar

x86: e820 memmap - add checking for NULL early param

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: akpm@linux-foundation.org
Cc: andi@firstfloor.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment