aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/scsi
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2020-09-25 22:42:30 +0200
committerVasily Gorbik <gor@linux.ibm.com>2020-09-30 12:09:54 +0200
commit86cde618e718d0d286a565bcabfce5bdfc304685 (patch)
tree11345ab483f0f917c5f653689e4dc5695235f86b /drivers/s390/scsi
parent3731ac579519d6c24ad2c5ac91959586b1919b5c (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