aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2025-05-22 07:17:20 +0000
committerMasahiro Yamada <[email protected]>2025-05-25 09:15:51 +0000
commit9c036cfbb75bb58ecce589f547fdb8af153493a6 (patch)
treec51677e34ed86660d92a380df8a5234788f6062f /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentkbuild: move kbuild syntax processing to scripts/Makefile.build (diff)
downloadkernel-9c036cfbb75bb58ecce589f547fdb8af153493a6.tar.gz
kernel-9c036cfbb75bb58ecce589f547fdb8af153493a6.zip
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions