]> git.baikalelectronics.ru Git - kernel.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)
commit313ac5cb3140bce6842e8836a0f3e98ae82e940e
treec8b6ddc0998035be3f36d4969abdce5d62321182
parentadc6a8a99937059cbac51346c50133b18fddc388
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