]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa8c15bb37dbcef58759f03fb0c668a718b3e054
tree4ae2dd8b3efe44027a543c4921af6d6a9b54a127
parent313ac5cb3140bce6842e8836a0f3e98ae82e940e
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