Re: [PATCH net] net: stmmac: intel: populate entire system_counterval_t in get_time_fn() callback
From: Thomas Gleixner
Date: Sat Jul 19 2025 - 16:00:19 EST
On Sun, Jul 13 2025 at 22:21, 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.
Sigh. As I explained in the other thread, the proper fix is to
zero initialize the data structure at the call site and fix this whole
class of issues in one go.