[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7818ad20-615c-2ce9-c0d1-3f7a09bedf34@web.de>
Date: Fri, 6 Sep 2019 08:52:44 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Stephen Boyd <swboyd@...omium.org>,
YueHaibing <yuehaibing@...wei.com>,
kernel-janitors@...r.kernel.org, cocci@...teme.lip6.fr
Cc: linux-kernel@...r.kernel.org, Andrzej Hajda <a.hajda@...sung.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Denis Efremov <efremov@...ux.com>,
Gilles Muller <Gilles.Muller@...6.fr>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Javier Martinez Canillas <javierm@...hat.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Mark Brown <broonie@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
Nicolas Palix <nicolas.palix@...g.fr>,
Rob Herring <robh@...nel.org>,
Russell King <linux@...linux.org.uk>
Subject: Re: [PATCH -next] coccinelle: platform_get_irq: Fix parse error
> > minus: parse error:
> > File "./scripts/coccinelle/api/platform_get_irq.cocci", line 24, column 9, charpos = 355
> > around = '\(',
> > whole content = if ( ret \( < \| <= \) 0 )
> >
> > In commit e56476897448 ("fpga: Remove dev_err() usage
> > after platform_get_irq()") log, I found the semantic patch,
> > it fix this issue.
> >
> > Fixes: 98051ba2b28b ("coccinelle: Add script to check for platform_get_irq() excessive prints")
> > Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> > ---
>
> Hmm I had this earlier but someone asked me to change it.
I proposed something also during the development for this SmPL script.
https://lkml.org/lkml/2019/7/24/274
https://lore.kernel.org/r/c98b8f50-1adf-ea95-a91c-ec451e9fefe2@web.de/
> Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Should disjunctions eventually work in the semantic patch language also together with
comparison operators?
https://github.com/coccinelle/coccinelle/issues/40
Will any additional software adjustments be taken into account?
Regards,
Markus
Powered by blists - more mailing lists