[PATCH net] net: stmmac: intel: populate entire system_counterval_t in get_time_fn() callback

Thomas Gleixner tglx at linutronix.de
Sat Jul 19 13:00:02 PDT 2025


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.




More information about the linux-arm-kernel mailing list