]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: add_namespace: Fix coccicheck failed
authorYueHaibing <yuehaibing@huawei.com>
Sun, 6 Oct 2019 04:44:56 +0000 (12:44 +0800)
committerJessica Yu <jeyu@kernel.org>
Mon, 7 Oct 2019 14:37:53 +0000 (16:37 +0200)
commit5606c69cdef93c7ba90addeac0d4678df931cb05
tree90d00c0d9e69ca74160bb8665b464cc26634d9ba
parentf5c4776cd5b591eea4e9be9f421e34f61b98ebb2
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: be9e4834b0fd ("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>
scripts/coccinelle/misc/add_namespace.cocci