]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8408177e34c649287d8a13d3ef68a1d036faf47b
treed1cdcb9cdb9d35777a99a5c63b9e73c5ff224a3d
parenta5f5e2cf6eb91d14994eb5d3dcb1272de82dafe8
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