Re: [PATCH] proc: make struct proc_dir_entry::name const
From: Andrew Morton
Date: Wed Nov 29 2023 - 17:07:09 EST
On Wed, 29 Nov 2023 12:46:57 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> Multiply ::name into "mut_name" and "name" which is "const char*".
>
> PDE's name must not be mutated on live PDE, hint modules they should not
> do it.
Do any modules do this? If so, we just broke them. If not, why bother
with this change?