Commit c7c4e29f authored by YueHaibing's avatar YueHaibing Committed by Jessica Yu
Browse files

scripts: add_namespace: Fix coccicheck failed



Now all scripts in scripts/coccinelle to be automatically called
by coccicheck. However new adding add_namespace.cocci does not
support report mode, which make coccicheck failed.
This add "virtual report" to  make the coccicheck go ahead smoothly.

Fixes: eb8305ae ("scripts: Coccinelle script for namespace dependencies.")
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Acked-by: default avatarMatthias Maennich <maennich@google.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJessica Yu <jeyu@kernel.org>
parent 54ecb8f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,8 @@
/// add a missing namespace tag to a module source file.
/// add a missing namespace tag to a module source file.
///
///


virtual report

@has_ns_import@
@has_ns_import@
declarer name MODULE_IMPORT_NS;
declarer name MODULE_IMPORT_NS;
identifier virtual.ns;
identifier virtual.ns;