s390/setup: avoid using strncmp with hardcoded length
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 19 Aug 2019 15:32:44 +0000 (17:32 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 29 Aug 2019 13:34:58 +0000 (15:34 +0200)
commitd0b319843baddc1a224ccdc73729aed55ec7787a
treed1cdcb9cdb9d35777a99a5c63b9e73c5ff224a3d
parent54fb07d030e1b2fa9d903a748f84398bbe6f213d
s390/setup: avoid using strncmp with hardcoded length

Replace strncmp usage in console mode setup code with simple strcmp.
Replace strncmp which is used for prefix comparison with str_has_prefix.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/setup.c