s390/vmcp: correct early_param handling
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 19 Aug 2019 08:44:54 +0000 (10:44 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 26 Aug 2019 10:51:17 +0000 (12:51 +0200)
commita45425d8a5a672d3322164cfce10b7b6fb32fcc2
tree4ae2dd8b3efe44027a543c4921af6d6a9b54a127
parent915ef7bda76466a5542a76694c08709895383f1c
s390/vmcp: correct early_param handling

Check "p" is not NULL before passing it to memparse, which doesn't
handle that case explicitly.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/char/vmcp.c