[PATCH RFC v2 05/54] s390/boot: treat dashes and underscores alike in parameter names

Rik van Riel riel at surriel.com
Wed Dec 2 21:41:30 PST 2026


On Thu, 2026-11-26 at 13:14 +0200, Mike Rapoport (Microsoft) wrote:
> Dashes and underscores are equivalent in the names of kernel
> parameters,
> and the kernel compares the names with parameq(). The decompressor
> uses
> strcmp(), so it ignores "relocate-lowcore" or "prot-virt=1".
> 
> Compare the names like parameq() does.
> 
> Signed-off-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
> 
Reviewed-by: Rik van Riel <riel at surriel.com>

-- 
All Rights Reversed.



More information about the linux-arm-kernel mailing list