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

2017-12-13 Thread David Miller
From: Branislav Radocaj Date: Tue, 12 Dec 2017 00:13:38 +0100 > If clk_set_rate() fails, we should disable clk before return. > Found by Linux Driver Verification project (linuxtesting.org). > > Changes since v2 [1]: > * Merged with latest code changes > > Changes since v1: > Update made thanks

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

2017-12-11 Thread Branislav Radocaj
If clk_set_rate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Changes since v2 [1]: * Merged with latest code changes Changes since v1: Update made thanks to David's review, much appreciated David. * Improved inconsistent failure hand