[PATCH v2 0/6] module: various bug-fixes and clean-ups for module namespace
From: Masahiro Yamada
Date: Thu Oct 03 2019 - 03:59:24 EST
I was hit by some problems caused by the module namespace feature
that was merged recently. At least, the breakage of
external module builds is a fatal one. I just took a look at the code
closer, and I noticed some more issues (some are nit-picking).
V2:
- I dropped "module: avoid code duplication in include/linux/export.h"
because Matthias offered to refactor the code by himself.
- V1 missed the problem when a symbol is preloaded before
sym_add_exported() is called. I fixed it too.
Masahiro Yamada (6):
module: swap the order of symbol.namespace
modpost: fix broken sym->namespace for external module builds
module: rename __kstrtab_ns_* to __kstrtabns_* to avoid symbol
conflict
kbuild: fix build error of 'make nsdeps' in clean tree
nsdeps: fix hashbang of scripts/nsdeps
nsdeps: make generated patches independent of locale
Makefile | 2 +-
include/linux/export.h | 10 +++++-----
scripts/mod/modpost.c | 29 +++++++++++++++--------------
scripts/nsdeps | 4 ++--
4 files changed, 23 insertions(+), 22 deletions(-)
--
2.17.1