[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1707220838410.2068@hadrien>
Date: Sat, 22 Jul 2017 08:39:19 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Borislav Petkov <bp@...en8.de>
cc: "Gustavo A. R. Silva" <garsilva@...eddedor.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
cocci@...teme.lip6.fr
Subject: Re: [PATCH] EDAC: remove unnecessary static in
edac_fake_inject_write()
On Sat, 22 Jul 2017, Borislav Petkov wrote:
> On Fri, Jul 21, 2017 at 10:08:12PM +0200, Julia Lawall wrote:
> > Someone pointed out that the rule is probably not OK when the address of
> > the static variable is taken, because then it is likely being used as
> > permanent storage.
>
> Makes sense to me.
>
> > An improved rule is:
>
> Do you think it is worth having it in scripts/coccinelle/ ?
Sure. Now that it has been a bit more sanity checked.
> I don't think Gustavo would mind putting it there :)
OK, I will check with him.
julia
>
> Thanks.
>
> --
> Regards/Gruss,
> Boris.
>
> ECO tip #101: Trim your mails when you reply.
> --
>
Powered by blists - more mailing lists