Re: [PATCH] EDAC: remove unnecessary static in edac_fake_inject_write()
From: Borislav Petkov
Date: Sat Jul 22 2017 - 02:39:37 EST
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/ ?
I don't think Gustavo would mind putting it there :)
Thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--