Thread (11 messages) 11 messages, 4 authors, 2d ago

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

flat view

From: Petr Pavlu <petr.pavlu@suse.com>
Date: 2026-10-14 09:36:34
Also in: dri-devel, intel-wired-lan, linux-hwmon, linux-i2c, linux-rtc, linux-serial, linux-usb, linux-watchdog, lkml, netdev

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()").

-- Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help