summaryrefslogtreecommitdiff
path: root/fs/afs
diff options
context:
space:
mode:
authorJessica Yu <jeyu@kernel.org>2020-03-06 19:02:06 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-03-13 04:04:36 +0300
commit54b778476941c768ef749803167dd21385c01038 (patch)
treee3db6e8c847dddba56c5fffa36663859713596b2 /fs/afs
parent93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d (diff)
downloadlinux-54b778476941c768ef749803167dd21385c01038.tar.xz
modpost: return error if module is missing ns imports and MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n
Currently when CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n, modpost only warns when a module is missing namespace imports. Under this configuration, such a module cannot be loaded into the kernel anyway, as the module loader would reject it. We might as well return a build error when a module is missing namespace imports under CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n, so that the build warning does not go ignored/unnoticed. Signed-off-by: Jessica Yu <jeyu@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions