]> git.baikalelectronics.ru Git - kernel.git/commit
s390/boot: access kernel command line via parmarea
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 7 May 2021 17:12:54 +0000 (19:12 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:06:59 +0000 (17:06 +0200)
commit671a7078ee7c9bb59adf0a561b67546d2db59ea3
treefe3a34f47d0d91901c3a1ed0603d6a6c2b9fc32e
parentbe6a74f4660054d034556d46e8344efdc18117f0
s390/boot: access kernel command line via parmarea

Access the kernel command line via parmarea instead of using the
COMMAND_LINE define.
With this the following gcc11 warning is removed:

arch/s390/boot/ipl_parm.c: In function ‘setup_boot_command_line’:
arch/s390/boot/ipl_parm.c:168:50: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/ipl_parm.c