diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-25 22:42:30 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-30 12:09:54 +0200 |
commit | 86cde618e718d0d286a565bcabfce5bdfc304685 (patch) | |
tree | 11345ab483f0f917c5f653689e4dc5695235f86b /drivers/s390/scsi | |
parent | 3731ac579519d6c24ad2c5ac91959586b1919b5c (diff) |
s390/startup: correct "dfltcc" option parsing
Currently if just "dfltcc" is passed as a kernel command line option
"val" going to be NULL, this leads to reading at address 0 in
strcmp(val, "off")
Fix that by making sure "val" is not NULL. This does not affect option
handling logic.
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/scsi')
0 files changed, 0 insertions, 0 deletions