提交 c7c4e29f 编写于 作者: Y YueHaibing 提交者: Jessica Yu

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: NJulia Lawall <julia.lawall@lip6.fr>
Acked-by: NMatthias Maennich <maennich@google.com>
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NJessica Yu <jeyu@kernel.org>
上级 54ecb8f7
......@@ -6,6 +6,8 @@
/// add a missing namespace tag to a module source file.
///
virtual report
@has_ns_import@
declarer name MODULE_IMPORT_NS;
identifier virtual.ns;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部