linux/scripts/coccinelle
Masahiro Yamada 62aa6f2ede scripts/nsdeps: get 'make nsdeps' working again
Since commit cdd30ebb1b ("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: cdd30ebb1b ("module: Convert symbol namespace to string literal")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-12-03 08:22:25 -08:00
..
api Reduce Coccinelle choices in string_choices.cocci 2024-09-28 21:33:11 +02:00
free update Coccinelle URL 2022-08-07 21:30:36 +02:00
iterators update Coccinelle URL 2022-08-07 21:30:36 +02:00
locks update Coccinelle URL 2022-08-07 21:30:36 +02:00
misc scripts/nsdeps: get 'make nsdeps' working again 2024-12-03 08:22:25 -08:00
null update Coccinelle URL 2022-08-07 21:30:36 +02:00
tests update Coccinelle URL 2022-08-07 21:30:36 +02:00