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

From: David Miller
Date: Mon Dec 11 2017 - 12:13:22 EST


From: Branislav Radocaj <branislav@xxxxxxxxxxx>
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 <branislav@xxxxxxxxxxx>
> ---
>
> Changes since v2:
> * Improved inconsistent failure handling of clock rate setting
> * For completeness of usecase, added arc_emac_probe error handling

This doesn't apply to any of my trees.