Re: [PATCH] net: stmicro: fix a missing check of clk_prepare

2018-12-27 Thread David Miller
From: Kangjie Lu Date: Tue, 25 Dec 2018 20:57:14 -0600 > clk_prepare() could fail, so let's check its status, and if it fails, > return its error code upstream. > > Signed-off-by: Kangjie Lu Applied.

[PATCH] net: stmicro: fix a missing check of clk_prepare

2018-12-25 Thread Kangjie Lu
clk_prepare() could fail, so let's check its status, and if it fails, return its error code upstream. Signed-off-by: Kangjie Lu --- drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-s