Skip to content

Commit c7c4e29

Browse files
YueHaibingJessica Yu
authored andcommitted
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: eb8305a ("scripts: Coccinelle script for namespace dependencies.") Acked-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by: Matthias Maennich <maennich@google.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jessica Yu <jeyu@kernel.org>
1 parent 54ecb8f commit c7c4e29

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/coccinelle/misc/add_namespace.cocci‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
/// add a missing namespace tag to a module source file.
77
///
88

9+
virtual report
10+
911
@has_ns_import@
1012
declarer name MODULE_IMPORT_NS;
1113
identifier virtual.ns;

0 commit comments

Comments
 (0)