[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200824.180005.985671879284027774.davem@davemloft.net>
Date: Mon, 24 Aug 2020 18:00:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dinghao.liu@....edu.cn
Cc: kjlu@....edu, kuba@...nel.org, heiko@...ech.de, wxt@...k-chips.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: arc_emac: Fix memleak in arc_mdio_probe
From: Dinghao Liu <dinghao.liu@....edu.cn>
Date: Sun, 23 Aug 2020 16:56:47 +0800
> When devm_gpiod_get_optional() fails, bus should be
> freed just like when of_mdiobus_register() fails.
>
> Fixes: 1bddd96cba03d ("net: arc_emac: support the phy reset for emac driver")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Applied, thank you.
Powered by blists - more mailing lists