]> 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)
commit1c4623ecde6c3173ac48a059a9c515a3d6521476
treed1cdcb9cdb9d35777a99a5c63b9e73c5ff224a3d
parent214ef522d89b62c187701d197bd1b0b2c1549b4f
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