ARM: 9190/1: kdump: add invalid input check for 'crashkernel=0'

Add invalid input check expression when 'crashkernel=0' is specified
running kdump.

Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

authored by Austin Kim and committed by Russell King (Oracle) 9d17f337 8b2360c7

+2 -1
+2 -1
arch/arm/kernel/setup.c
··· 1004 1004 total_mem = get_total_mem(); 1005 1005 ret = parse_crashkernel(boot_command_line, total_mem, 1006 1006 &crash_size, &crash_base); 1007 - if (ret) 1007 + /* invalid value specified or crashkernel=0 */ 1008 + if (ret || !crash_size) 1008 1009 return; 1009 1010 1010 1011 if (crash_base <= 0) {