Re: [PATCH 2/3] drivers: Replace __MODULE_STRING() with __stringify()

From: Petr Pavlu

Date: Thu Sep 24 2026 - 08:48:06 EST


On 9/22/26 7:21 PM, Guenter Roeck wrote:
> On Tue, Sep 22, 2026 at 03:32:22PM +0200, 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() in
>> preparation for its removal.
>>
>> Link: https://git.kernel.org/tglx/history/c/136839a1b4 [1]
>> Signed-off-by: Petr Pavlu <petr.pavlu@xxxxxxxx>
>> ---
>> drivers/comedi/comedi_fops.c | 5 +++--
>> drivers/gpu/drm/drm_fb_helper.c | 3 ++-
>> drivers/hwmon/fschmd.c | 3 ++-
>> drivers/hwmon/nct7904.c | 5 +++--
>> drivers/hwmon/sch56xx-common.c | 3 ++-
>> drivers/hwmon/w83793.c | 5 +++--
>
> I don't know how other subsystem maintainers want to handle it,
> but please send the hwmon patches separately; I'll want to apply
> it through the hwmon tree to avoid the potential of merge conflicts.

Sure, I'll do it in v2.

If other maintainers would also like changes affecting their drivers to
be split into separate patches, please let me know.

--
Thanks,
Petr