[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.1802221710110.1801@5HSWXM1.fritz.box>
Date: Thu, 22 Feb 2018 17:21:13 +0100 (CET)
From: Rolf Evers-Fischer <embedded24@...rs-fischer.de>
To: Andy Shevchenko <andy.shevchenko@...il.com>
cc: Rolf Evers-Fischer <embedded24@...rs-fischer.de>,
Kishon Vijay Abraham I <kishon@...com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Rolf Evers-Fischer <rolf.evers.fischer@...iv.com>
Subject: Re: [PATCH 1/2] pci: endpoint: Free func_name after last usage
On Wed, 21 Feb 2018, Andy Shevchenko wrote:
> > Change-Id: I0d1b6fd652395b85f82b11c43bf9b7db512854d1
>
> First of all, this shouldn't be here.
>
Please excuse me. I know that I have to remove this, but
unfortunately I forgot to do so (here and also in the other patch).
> > Signed-off-by: Rolf Evers-Fischer <rolf.evers.fischer@...iv.com>
> > Signed-off-by: Rolf Evers-Fischer <embedded24@...rs-fischer.de>
>
> Looks like bipolar disorder?
>
You are right: One "Signed-off" should be enough.
> To the topic.
> This is a slow path and your change makes code slightly less readable
> b/c of patterns used in the kernel.
>
I see. It is probably not a good idea to free the
memory in the middle of the function.
If you don't mind, I will remove this patch and change the other
one accordingly.
With best regards,
Rolf Evers-Fischer
Powered by blists - more mailing lists