Re: [PATCH v2 0/3] Remove obsolete __MODULE_STRING()

From: Jani Nikula

Date: Mon Nov 09 2026 - 13:12:16 EST


On Mon, 09 Nov 2026, Petr Pavlu <petr.pavlu@xxxxxxxx> wrote:
> On 10/14/26 11:36 AM, Petr Pavlu wrote:
>> On 10/2/26 10:31 AM, Petr Pavlu wrote:
>>> __MODULE_STRING() has been an alias for __stringify() since "[PATCH]
>>> MODULE_PARM support for older modules" [1] in 2002-12. That change also
>>> moved it to the graveyard section at the end of linux/module.h
>>>
>>> Replace the remaining uses of __MODULE_STRING() with __stringify() and
>>> remove the macro.
>>>
>>> Apologies for the wide distribution. Acked-bys are appreciated.
>>>
>>> [1] https://git.kernel.org/tglx/history/c/136839a1b4
>>
>> I've queued the second patch ("drivers: Replace __MODULE_STRING() with
>> __stringify()") on modules-next for v7.4-rc1. Thanks for the Acked-byes
>> and reviews.
>>
>> The first patch ("hwmon: Replace __MODULE_STRING() with __stringify()")
>> should go through the hwmon tree. Once these changes are in mainline,
>> I plan to pick up the final patch ("module: Remove obsolete
>> __MODULE_STRING()").
>
> v7.4-rc1 no longer contains any __MODULE_STRING() calls, so I've queued
> the final removal in patch 3 on modules-next for 7.5-rc1.

Perhaps send it for v7.4-rc3 to prevent *new* __MODULE_STRING() users
from cropping up between now and v7.5-rc1?

BR,
Jani.


--
Jani Nikula, Intel