summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/setup.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-08-19 17:13:04 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-08-29 15:34:58 +0200
commit54fb07d030e1b2fa9d903a748f84398bbe6f213d (patch)
tree2667ea7b77c3bae0b5835fbb6b25114c23be1256 /arch/s390/kernel/setup.c
parentb29cd7c4c482d895f4b13ef1dfe85550529f38c9 (diff)
downloadlwn-54fb07d030e1b2fa9d903a748f84398bbe6f213d.tar.gz
lwn-54fb07d030e1b2fa9d903a748f84398bbe6f213d.zip
s390/sclp: avoid using strncmp with hardcoded length
"earlyprintk" option documentation does not clearly state which platform supports which additional values (e.g. ",keep"). Preserve old option behaviour and reuse str_has_prefix instead of strncmp for prefix testing. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions