[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191111.151435.931035548376130641.davem@davemloft.net>
Date: Mon, 11 Nov 2019 15:14:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: clabbe@...libre.com
Cc: alexandre.torgue@...com, joabreu@...opsys.com, mripard@...nel.org,
peppe.cavallaro@...com, wens@...e.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-sunxi@...glegroups.com,
stable@...r.kernel.org
Subject: Re: [PATCH] net: ethernet: dwmac-sun8i: Use the correct function
in exit path
From: Corentin Labbe <clabbe@...libre.com>
Date: Sun, 10 Nov 2019 11:30:48 +0000
> When PHY is not powered, the probe function fail and some resource are
> still unallocated.
> Furthermore some BUG happens:
> dwmac-sun8i 5020000.ethernet: EMAC reset timeout
> ------------[ cut here ]------------
> kernel BUG at /linux-next/net/core/dev.c:9844!
>
> So let's use the right function (stmmac_pltfr_remove) in the error path.
>
> Fixes: 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i")
> Cc: <stable@...r.kernel.org> # v4.15+
> Signed-off-by: Corentin Labbe <clabbe@...libre.com>
Applied.
Powered by blists - more mailing lists