From: Julia Lawall Date: Fri, 31 Jul 2020 14:38:42 +0000 Subject: Re: [v4] coccinelle: api: add kvfree script Message-Id: List-Id: References: <75532a99-4498-c64a-de34-c9033782aa9e@web.de> <96a71d0e-ae6f-9355-b02a-b1a084376f1e@web.de> <06eaa1fe-5047-89f7-3995-a38d80030e7f@web.de> In-Reply-To: <06eaa1fe-5047-89f7-3995-a38d80030e7f@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Markus Elfring Cc: Michal Marek , Gilles Muller , kernel-janitors@vger.kernel.org, Nicolas Palix , linux-kernel@vger.kernel.org, Coccinelle On Fri, 31 Jul 2020, Markus Elfring wrote: > >>>>> +msg = "WARNING: kmalloc is used to allocate this memory at line %s" % (k[0].line) > >>>>> +coccilib.org.print_todo(p[0], msg) > >>>> > >>>> * I find the diagnostic text insufficient. > >>> > >>> I also find the message not very informative. > >> > >> Is it interesting how quick such views can change? > > > > Yes. If one looks at something in context, one and understand it better > > than the extract that you provided. > > Should the provided information (and its intention) be understandable from > the diagnostic message alone already? It is understandable from the message and from the positions that are indicated. That's good enough. julia