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

From: Rik van Riel

Date: Thu Dec 03 2026 - 00:42:02 EST


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@xxxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.