summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/misc/add_namespace.cocci
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-10-11 10:19:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-10-11 10:19:24 -0700
commitc6f6ebd77ce1bb8931f78412a841dd1371820181 (patch)
tree3945e2d04047f9a263807f831bbbfd610a046a95 /scripts/coccinelle/misc/add_namespace.cocci
parent56c642e2aa1c3be3e51e136eace6502aca8116ab (diff)
parentfcfacb9f83745d9fa97937b8bc94a73bb0607912 (diff)
Merge tag 'modules-for-v5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull module fixes from Jessica Yu: "Code cleanups and kbuild/namespace related fixups from Masahiro. Most importantly, it fixes a namespace-related modpost issue for external module builds - Fix broken external module builds due to a modpost bug in read_dump(), where the namespace was not being strdup'd and sym->namespace would be set to bogus data. - Various namespace-related kbuild fixes and cleanups thanks to Masahiro Yamada" * tag 'modules-for-v5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: doc: move namespaces.rst from kbuild/ to core-api/ nsdeps: make generated patches independent of locale nsdeps: fix hashbang of scripts/nsdeps kbuild: fix build error of 'make nsdeps' in clean tree module: rename __kstrtab_ns_* to __kstrtabns_* to avoid symbol conflict modpost: fix broken sym->namespace for external module builds module: swap the order of symbol.namespace scripts: add_namespace: Fix coccicheck failed
Diffstat (limited to 'scripts/coccinelle/misc/add_namespace.cocci')
-rw-r--r--scripts/coccinelle/misc/add_namespace.cocci2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/coccinelle/misc/add_namespace.cocci b/scripts/coccinelle/misc/add_namespace.cocci
index c832bb6445a8..99e93a6c2e24 100644
--- a/scripts/coccinelle/misc/add_namespace.cocci
+++ b/scripts/coccinelle/misc/add_namespace.cocci
@@ -6,6 +6,8 @@
/// add a missing namespace tag to a module source file.
///
+virtual report
+
@has_ns_import@
declarer name MODULE_IMPORT_NS;
identifier virtual.ns;