Linux kbuild/kconfig development
 help / color / mirror / Atom feed
* [PATCH 0/3] module: fixups after module namespace conversion
@ 2024-12-03 10:21 Masahiro Yamada
  2024-12-03 10:21 ` [PATCH 1/3] scripts/nsdeps: get 'make nsdeps' working again Masahiro Yamada
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Masahiro Yamada @ 2024-12-03 10:21 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Greg Kroah-Hartman, Peter Zijlstra, Matthias Maennich,
	linux-kbuild, linux-kernel, Masahiro Yamada


[1/3]
Commit cdd30ebb1b9f added double-quotes to enclose the variable in the
semantic patch, scripts/coccinelle/misc/add_namespace.cocci.
Since then, 'make nsdepds' always changes the missing import to silly code:
   MODULE_IMPORT_NS("ns");

[2/3]
MODULE_IMPORT_NS("") is misleading in the context of documentation
about MODULE_IMPORT_NS() tags in general.

[3/3]
Convert DEFAULT_SYMBOL_NAMESPACE from a macro expansion to a string
literal. There is no good reason to keep inconsistency in the default
case.



Masahiro Yamada (3):
  scripts/nsdeps: get 'make nsdeps' working again
  doc: module: revert misconversions for MODULE_IMPORT_NS()
  module: Convert default symbol namespace to string literal

 Documentation/core-api/symbol-namespaces.rst              | 8 ++++----
 .../translations/it_IT/core-api/symbol-namespaces.rst     | 8 ++++----
 .../translations/zh_CN/core-api/symbol-namespaces.rst     | 8 ++++----
 drivers/cdx/Makefile                                      | 2 +-
 drivers/crypto/intel/iaa/Makefile                         | 2 +-
 drivers/crypto/intel/qat/qat_common/Makefile              | 2 +-
 drivers/dma/idxd/Makefile                                 | 2 +-
 drivers/gpio/gpio-idio-16.c                               | 2 +-
 drivers/hwmon/nct6775-core.c                              | 2 +-
 drivers/i2c/busses/i2c-designware-common.c                | 2 +-
 drivers/i2c/busses/i2c-designware-master.c                | 2 +-
 drivers/i2c/busses/i2c-designware-slave.c                 | 2 +-
 drivers/pwm/core.c                                        | 2 +-
 drivers/pwm/pwm-dwc-core.c                                | 2 +-
 drivers/pwm/pwm-lpss.c                                    | 2 +-
 drivers/tty/serial/sc16is7xx.c                            | 2 +-
 drivers/usb/storage/Makefile                              | 2 +-
 include/linux/export.h                                    | 2 +-
 scripts/coccinelle/misc/add_namespace.cocci               | 4 ++--
 scripts/nsdeps                                            | 2 +-
 20 files changed, 30 insertions(+), 30 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-12-03 16:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 10:21 [PATCH 0/3] module: fixups after module namespace conversion Masahiro Yamada
2024-12-03 10:21 ` [PATCH 1/3] scripts/nsdeps: get 'make nsdeps' working again Masahiro Yamada
2024-12-03 10:21 ` [PATCH 2/3] doc: module: revert misconversions for MODULE_IMPORT_NS() Masahiro Yamada
2024-12-03 10:21 ` [PATCH 3/3] module: Convert default symbol namespace to string literal Masahiro Yamada
2024-12-03 10:41   ` Uwe Kleine-König
2024-12-03 10:26 ` [PATCH 0/3] module: fixups after module namespace conversion Peter Zijlstra
2024-12-03 11:09 ` Masahiro Yamada
2024-12-03 16:23   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox