diff options
author | Jessica Yu <jeyu@kernel.org> | 2020-03-06 19:02:06 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-03-13 04:04:36 +0300 |
commit | 54b778476941c768ef749803167dd21385c01038 (patch) | |
tree | e3db6e8c847dddba56c5fffa36663859713596b2 /fs/afs | |
parent | 93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d (diff) | |
download | linux-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