Re: [PATCH v5] net: ethernet: ti: am65-cpts: update ret when ptp_clock is ERROR

From: Jakub Kicinski
Date: Fri Nov 13 2020 - 18:28:38 EST


On Thu, 12 Nov 2020 18:45:41 +0200 Grygorii Strashko wrote:
> From: Wang Qing <wangqing@xxxxxxxx>
>
> We always have to update the value of ret, otherwise the
> error value may be the previous one.
>
> Fixes: f6bd59526ca5 ("net: ethernet: ti: introduce am654 common platform time sync driver")
> Signed-off-by: Wang Qing <wangqing@xxxxxxxx>
> [grygorii.strashko@xxxxxx: fix build warn, subj add fixes tag]
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>
> Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>

Thanks for handling this, applied!