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

David Miller davem at davemloft.net
Mon Dec 11 09:13:13 PST 2017


From: Branislav Radocaj <branislav at radocaj.org>
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 at radocaj.org>
> ---
> 
> 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.



More information about the linux-arm-kernel mailing list