Skip to content

Remove obsolete __MODULE_STRING()

Petr Pavlu dri-devel intel-wired-lan linux-hwmon linux-i2c linux-modules linux-rtc linux-serial linux-usb linux-watchdog lkml netdev 2 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected] change-id 20260919-module-string-d64816f203d9

Versions newest first

  1. v2 Latest3 patches 8 repliesApplied
  2. v13 patches 9 repliesApplied

Changes in v2 from the cover letter

- Rebase on top of next-20260930.
- Drop 'watchdog: Replace __MODULE_STRING() with __stringify()' since it has already been queued on watchdog-next.
- Split the hwmon changes into a separate patch.
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3hwmon: Replace __MODULE_STRING() with __stringify()drivers/hwmon/fschmd.c drivers/hwmon/nct7904.c drivers/hwmon/sch56xx-common.c +1 more+10 -62 replies
2/3drivers: Replace __MODULE_STRING() with __stringify()drivers/comedi/comedi_fops.c drivers/gpu/drm/drm_fb_helper.c drivers/i2c/busses/i2c-kempld.c +13 more+66 -552 replies
3/3module: Remove obsolete __MODULE_STRING()include/linux/module.h+0 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanAndi ShytiIan AbbottAlexandre BelloniAaron TomlinMika WesterbergAleksandr Loktionov
1/3R-b
2/3A-b A-b A-b A-b A-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] Remove obsolete __MODULE_STRING()

__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

---
Changes in v2:
- Rebase on top of next-20260930.
- Drop 'watchdog: Replace __MODULE_STRING() with __stringify()' since it has already been queued on watchdog-next.
- Split the hwmon changes into a separate patch.
- Link to v1: https://patch.msgid.link/[email protected]

---
Petr Pavlu (3):
hwmon: Replace __MODULE_STRING() with __stringify()
drivers: Replace __MODULE_STRING() with __stringify()
module: Remove obsolete __MODULE_STRING()

 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 +++--
 drivers/i2c/busses/i2c-kempld.c                       |  3 ++-
 drivers/net/ethernet/atheros/atl1e/atl1e_param.c      |  9 +++++----
 drivers/net/ethernet/atheros/atlx/atl1.c              |  3 ++-
 drivers/net/ethernet/atheros/atlx/atl2.c              | 11 ++++++-----
 drivers/net/ethernet/intel/e1000/e1000_param.c        | 15 ++++++++-------
 drivers/net/ethernet/intel/e1000e/param.c             | 16 ++++++----------
 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c |  7 ++++---
 drivers/platform/cznic/turris-omnia-mcu-watchdog.c    |  3 ++-
 drivers/rtc/rtc-ds1374.c                              |  3 ++-
 drivers/thunderbolt/tb.c                              |  3 ++-
 drivers/thunderbolt/tunnel.c                          |  5 +++--
 drivers/tty/serial/8250/8250_platform.c               |  3 ++-
 drivers/usb/atm/speedtch.c                            | 15 ++++++++-------
 drivers/usb/atm/usbatm.c                              | 17 +++++++++--------
 include/linux/module.h                                |  4 ----
 21 files changed, 76 insertions(+), 65 deletions(-)

---
base-commit: 6c2cb8b8b843d216ab549b678a0d8831c43153e0
change-id: 20260919-module-string-d64816f203d9