[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191006110943.GA172281@google.com>
Date: Sun, 6 Oct 2019 12:09:43 +0100
From: Matthias Maennich <maennich@...gle.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Julia.Lawall@...6.fr, Gilles.Muller@...6.fr, nicolas.palix@...g.fr,
michal.lkml@...kovi.net, jeyu@...nel.org,
gregkh@...uxfoundation.org, yamada.masahiro@...ionext.com,
Markus.Elfring@....de, cocci@...teme.lip6.fr,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts: add_namespace: Fix coccicheck failed
Hi YueHaibing!
On Sun, Oct 06, 2019 at 12:44:56PM +0800, YueHaibing wrote:
>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: eb8305aecb95 ("scripts: Coccinelle script for namespace dependencies.")
>Acked-by: Julia Lawall <julia.lawall@...6.fr>
>Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Thanks for fixing this!
Acked-by: Matthias Maennich <maennich@...gle.com>
Cheers,
Matthias
>---
> scripts/coccinelle/misc/add_namespace.cocci | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/scripts/coccinelle/misc/add_namespace.cocci b/scripts/coccinelle/misc/add_namespace.cocci
>index c832bb6445a8..99e93a6c2e24 100644
>--- a/scripts/coccinelle/misc/add_namespace.cocci
>+++ b/scripts/coccinelle/misc/add_namespace.cocci
>@@ -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;
>--
>2.20.1
>
>
Powered by blists - more mailing lists