]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/numa: correct early_param handling
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 16 Aug 2019 13:49:49 +0000 (15:49 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 26 Aug 2019 10:51:17 +0000 (12:51 +0200)
commit915ef7bda76466a5542a76694c08709895383f1c
treec8b6ddc0998035be3f36d4969abdce5d62321182
parent416f79c23dbe47e0e223efc06d3487e1d90a92ee
s390/numa: correct early_param handling

When command line options are used without specifying values
(e.g. "emu_size" instead of "emu_size="), the value is NULL. Check that
before performing string operations and further processing.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/numa/mode_emu.c
arch/s390/numa/numa.c