Re: [PATCH v2] net: ethernet: arc: fix error handling in emac_rockchip_probe

2017-12-11 Thread David Miller
From: Branislav Radocaj Date: Sat, 9 Dec 2017 12:51:33 +0100 > If clk_set_rate() fails, we should disable clk before return. > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Branislav Radocaj > --- > > Changes since v2: > * Improved inconsistent failure hand

[PATCH v2] net: ethernet: arc: fix error handling in emac_rockchip_probe

2017-12-09 Thread Branislav Radocaj
If clk_set_rate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Branislav Radocaj --- Changes since v2: * Improved inconsistent failure handling of clock rate setting * For completeness of usecase, added arc_emac_probe e