[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190828183007.GD52127@atomide.com>
Date: Wed, 28 Aug 2019 11:30:07 -0700
From: Tony Lindgren <tony@...mide.com>
To: Ladislav Michl <ladis@...ux-mips.org>
Cc: Markus Elfring <Markus.Elfring@....de>, linux-omap@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Kishore Kadiyala <kishore.kadiyala@...com>,
Russell King <linux@...linux.org.uk>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org, Balaji T K <balajitk@...com>,
Benoit Cousson <b-cousson@...com>,
Paul Walmsley <paul@...an.com>,
Nikolaus Schaller <hns@...delico.com>
Subject: Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in
omap_hsmmc_pdata_init()
* Ladislav Michl <ladis@...ux-mips.org> [190827 18:15]:
> On Mon, Aug 26, 2019 at 09:20:50AM -0700, Tony Lindgren wrote:
> > * Markus Elfring <Markus.Elfring@....de> [190826 06:31]:
> > > From: Markus Elfring <elfring@...rs.sourceforge.net>
> > > Date: Mon, 26 Aug 2019 15:05:31 +0200
> > >
> > > A null pointer would be passed to a call of the function "kfree" directly
> > > after a call of the function "kzalloc" failed at one place.
> > > Remove this superfluous function call.
> > >
> > > This issue was detected by using the Coccinelle software.
> >
> > Applying into omap-for-v5.4/soc thanks.
>
> Is it really wise touching almost dead code? Last user is pandora board, so
> +Cc: Nikolaus Schaller <hns@...delico.com>
Yeah would be good to finally get rid of that old code.
Anyways, I'll keep the $subject patch to cut down on
coccinelle produced issue.
Regards,
Tony
Powered by blists - more mailing lists