diff options
| author | Jessica Yu <[email protected]> | 2020-03-06 17:02:06 +0100 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2020-03-13 10:04:36 +0900 |
| commit | 54b778476941c768ef749803167dd21385c01038 (patch) | |
| tree | e3db6e8c847dddba56c5fffa36663859713596b2 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d (diff) | |
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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions