diff options
author | 2024-12-03 19:21:05 +0900 | |
---|---|---|
committer | 2024-12-03 08:22:25 -0800 | |
commit | 62aa6f2ede976dfb3539e59ee55c62cfd3c3faa3 (patch) | |
tree | 87194ea3397a0cbb41c0436c7eb6307265295f38 /scripts/generate_rust_analyzer.py | |
parent | module: Convert symbol namespace to string literal (diff) | |
download | wireguard-linux-62aa6f2ede976dfb3539e59ee55c62cfd3c3faa3.tar.xz wireguard-linux-62aa6f2ede976dfb3539e59ee55c62cfd3c3faa3.zip |
scripts/nsdeps: get 'make nsdeps' working again
Since commit cdd30ebb1b9f ("module: Convert symbol namespace to string
literal"), when MODULE_IMPORT_NS() is missing, 'make nsdeps' inserts
pointless code:
MODULE_IMPORT_NS("ns");
Here, "ns" is not a namespace, but the variable in the semantic patch.
It must not be quoted. Instead, a string literal must be passed to
Coccinelle.
Fixes: cdd30ebb1b9f ("module: Convert symbol namespace to string literal")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions