Searched hist:"86 cde618" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/boot/ |
H A D | ipl_parm.c | 86cde618 Fri Sep 25 15:42:30 CDT 2020 Vasily Gorbik <gor@linux.ibm.com> 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> 86cde618 Fri Sep 25 15:42:30 CDT 2020 Vasily Gorbik <gor@linux.ibm.com> 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>
|