[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200426025300.GA18964@nuc8i5>
Date: Sun, 26 Apr 2020 10:53:00 +0800
From: Dejin Zheng <zhengdejin5@...il.com>
To: Markus Elfring <Markus.Elfring@....de>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Andy Shevchenko <andy.shevchenko@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Yash Shah <yash.shah@...ive.com>
Subject: Re: [PATCH] net: macb: fix an issue about leak related to system
resources
On Sat, Apr 25, 2020 at 07:00:35PM +0200, Markus Elfring wrote:
> > A call of the function macb_init() can fail in the function
> > fu540_c000_init. The related system resources were not released
> > then. use devm_ioremap() to replace ioremap() for fix it.
>
> How do you think about a wording variant like the following?
>
Markus, I think my commit comments is a sufficiently clear description
for this patch. Someone has told me not to send commit comments again
and again when it is enough clear. Because it only wastes the precious
time of the maintainer and very very little help for patch improvement.
BTW, In the past week, you asked me to change the commit comments in my
6 patches like this one. Let me return to the essence of patch, point out
that the code problems and better solutions will be more popular.
> Subject:
> [PATCH v2] net: macb: Use devm_ioremap() in fu540_c000_init()
>
> Change description:
> A call of the macb_init() function can fail here.
> The corresponding system resources were not released then.
> Thus replace a call of the ioremap() function by devm_ioremap().
>
>
> Regards,
> Markus
Powered by blists - more mailing lists