Skip to content
Commit 54fb07d0 authored by Vasily Gorbik's avatar Vasily Gorbik
Browse files

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: default avatarVasily Gorbik <gor@linux.ibm.com>
parent b29cd7c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment