diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2025-05-22 16:17:20 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-05-25 18:15:51 +0900 |
commit | 9c036cfbb75bb58ecce589f547fdb8af153493a6 (patch) | |
tree | c51677e34ed86660d92a380df8a5234788f6062f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8f81d8529e19c84b014e4239d2012373274d138d (diff) |
modpost: check forbidden MODULE_IMPORT_NS("module:") at compile time
Explicitly adding MODULE_IMPORT_NS("module:...") is not allowed.
Currently, this is only checked at run time. That is, when such a
module is loaded, an error message like the following is shown:
foo: module tries to import module namespace: module:bar
Obviously, checking this at compile time improves usability.
In such a case, modpost will report the following error at compile time:
ERROR: modpost: foo: explicitly importing namespace "module:bar" is not allowed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions