Re: [PATCH] memstick: Constify the driver id_table
From: Greg Kroah-Hartman
Date: Tue May 05 2026 - 07:20:28 EST
On Tue, May 05, 2026 at 12:39:28PM +0200, Krzysztof Kozlowski wrote:
> Just like all other driver structures, the id_table should never be
> modified by core subsystem parts. Constify this member and actual data
> structures for increased code safety.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>
> ---
>
> This should probably go via memstick tree with mmc ack. Or other way
> around.
> ---
> drivers/memstick/host/tifm_ms.c | 2 +-
> drivers/misc/tifm_core.c | 4 ++--
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>