[PATCH] arm64: idreg-override: Detect trailing "--" in __parse_cmdline()

Will Deacon will at kernel.org
Fri Nov 27 10:39:10 PST 2026


On Thu, 15 Oct 2026 18:10:54 +0200, Thorsten Blum wrote:
> __parse_cmdline() detects "--" only if it is followed by whitespace.
> However, at the end of the command line, it converts the dashes to
> underscores and tries to match "__" as an option.
> 
> Detect trailing "--" directly instead of converting it to "__".
> 
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: idreg-override: Detect trailing "--" in __parse_cmdline()
      https://git.kernel.org/arm64/c/067dd30eb3c9

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list