[PATCH net] net: stmmac: intel: populate entire system_counterval_t in get_time_fn() callback
Simon Horman
horms at kernel.org
Mon Jul 14 04:02:06 PDT 2025
On Sun, Jul 13, 2025 at 10:21:41PM +0200, Markus Blöchl wrote:
> get_time_fn() callback implementations are expected to fill out the
> entire system_counterval_t struct as it may be initially uninitialized.
>
> This broke with the removal of convert_art_to_tsc() helper functions
> which left use_nsecs uninitialized.
>
> Initially assign the entire struct with default values.
>
> Fixes: f5e1d0db3f02 ("stmmac: intel: Remove convert_art_to_tsc()")
> Cc: stable at vger.kernel.org
> Signed-off-by: Markus Blöchl <markus at blochl.de>
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the linux-arm-kernel
mailing list