Re: [PATCH v3 net-next 1/2] net: fec: Move `fec_ptp_read()` to the top of the file

From: Andrew Lunn
Date: Mon Aug 12 2024 - 16:59:11 EST


On Mon, Aug 12, 2024 at 11:47:13AM +0200, Csókás, Bence wrote:
> This function is used in `fec_ptp_enable_pps()` through
> struct cyclecounter read(). Moving the declaration makes
> it clearer, what's happening.
>
> Fixes: 61d5e2a251fb ("fec: Fix timer capture timing in `fec_ptp_enable_pps()`")
> Suggested-by: Frank Li <Frank.li@xxxxxxx>
> Link: https://lore.kernel.org/netdev/20240805144754.2384663-1-csokas.bence@xxxxxxxxx/T/#ma6c21ad264016c24612048b1483769eaff8cdf20
> Signed-off-by: Csókás, Bence <csokas.bence@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew