Re: [PATCH V3 net] net/ethernet: Fix error return when ptp_clock is ERROR

From: Jakub Kicinski
Date: Tue Nov 10 2020 - 20:10:22 EST


On Mon, 9 Nov 2020 10:17:52 +0800 Wang Qing wrote:
> We always have to update the value of ret, otherwise the error value
> may be the previous one. And ptp_clock_register() never return NULL
> when PTP_1588_CLOCK enable.
>
> Signed-off-by: Wang Qing <wangqing@xxxxxxxx>

Please add a Fixes tag as I requested in a reply to v2.

Please CC Richard on the next version, since he gave you feedback,
and he's the PTP maintainer.