]> git.dujemihanovic.xyz Git - linux.git/commit
s390/setup: do not complain about parameters handled in decompressor
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 17 Feb 2023 13:00:54 +0000 (14:00 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 27 Feb 2023 14:29:36 +0000 (15:29 +0100)
commit8ee0d2fb4dfa3465ea2030dec59a6f6fe3005804
treea2474f2dff3eb3fdf8c06a7ffce27b108b914647
parentf3dd0c53370e70c0f9b7e931bbec12916f3bb8cc
s390/setup: do not complain about parameters handled in decompressor

Currently there are several kernel command line parameters which are
only parsed and handled in decompressor and not known to the kernel.
This leads to the following error message during kernel boot:

Unknown kernel command line parameters "mem=3G nokaslr", will be passed
to user space.

To avoid confusion, register those parameters with an empty stub so that
kernel does not complain about them.

Reported-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/early.c