Skip to content
Commit a2a83eb4 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Will Deacon
Browse files

arm64: kernel: Fix kernel warning when nokaslr is passed to commandline



'Unknown kernel command line parameters "nokaslr", will be passed to
user space' message is noticed in the dmesg when nokaslr is passed to
the kernel commandline on ARM64 platform. This is because nokaslr param
is handled by early cpufeature detection infrastructure and the parameter
is never consumed by a kernel param handler. Fix this warning by
providing a dummy kernel param handler for nokaslr.

Signed-off-by: default avatarPavankumar Kondeti <quic_pkondeti@quicinc.com>
Link: https://lore.kernel.org/r/20230412043258.397455-1-quic_pkondeti@quicinc.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent af6c0bd5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment