[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180320.120728.1961514582193776638.davem@davemloft.net>
Date: Tue, 20 Mar 2018 12:07:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: christophe.jaillet@...adoo.fr
Cc: heiko@...ech.de, branislav@...ocaj.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v2] net: ethernet: arc: Fix a potential memory leak if
an optional regulator is deferred
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Date: Sun, 18 Mar 2018 23:59:36 +0100
> If the optional regulator is deferred, we must release some resources.
> They will be re-allocated when the probe function will be called again.
>
> Fixes: 6eacf31139bf ("ethernet: arc: Add support for Rockchip SoC layer device tree bindings")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> v2: v1 did not compile because of an erroneous variable name. s/ret/err/
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists