]> 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)
commitd2647b2caab49cdefb4197f152c2d9256ec07841
treec8b6ddc0998035be3f36d4969abdce5d62321182
parentd17b5c7b06bea867936f2af2490ff549baad2f1a
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