[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200503.160242.1607340848418848790.davem@davemloft.net>
Date: Sun, 03 May 2020 16:02:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhengdejin5@...il.com
Cc: nicolas.ferre@...rochip.com, paul.walmsley@...ive.com,
palmer@...belt.com, yash.shah@...ive.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, andy.shevchenko@...il.com
Subject: Re: [PATCH net v3] net: macb: fix an issue about leak related
system resources
From: Dejin Zheng <zhengdejin5@...il.com>
Date: Sun, 3 May 2020 20:32:26 +0800
> 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_platform_ioremap_resource() to replace ioremap()
> to fix it.
>
> Fixes: c218ad559020ff9 ("macb: Add support for SiFive FU540-C000")
> Cc: Andy Shevchenko <andy.shevchenko@...il.com>
> Reviewed-by: Yash Shah <yash.shah@...ive.com>
> Suggested-by: Nicolas Ferre <nicolas.ferre@...rochip.com>
> Suggested-by: Andy Shevchenko <andy.shevchenko@...il.com>
> Signed-off-by: Dejin Zheng <zhengdejin5@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists