Skip to content

module: fixups after module namespace conversion

Masahiro Yamada linux-kbuild lkml 1 version Applied

Status from this message: Applied. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scripts/nsdeps: get 'make nsdeps' working againscripts/coccinelle/misc/add_namespace.cocci scripts/nsdeps+3 -30 replies
2/3doc: module: revert misconversions for MODULE_IMPORT_NS()Documentation/core-api/symbol-namespaces.rst Documentation/translations/it_IT/core-api/symbol-namespaces.rst Documentation/translations/zh_CN/core-api/symbol-namespaces.rst+6 -60 replies
3/3module: Convert default symbol namespace to string literalDocumentation/core-api/symbol-namespaces.rst Documentation/translations/it_IT/core-api/symbol-namespaces.rst Documentation/translations/zh_CN/core-api/symbol-namespaces.rst +15 more+21 -211 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchUwe Kleine-König
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] module: fixups after module namespace conversion

[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(-)
Signature · 1 line
2.43.0