[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250714110206.GI721198@horms.kernel.org>
Date: Mon, 14 Jul 2025 12:02:06 +0100
From: Simon Horman <horms@...nel.org>
To: Markus Blöchl <markus@...chl.de>
Cc: Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Thomas Gleixner <tglx@...utronix.de>,
Lakshmi Sowjanya D <lakshmi.sowjanya.d@...el.com>,
Richard Cochran <richardcochran@...il.com>,
John Stultz <jstultz@...gle.com>, netdev@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
markus.bloechl@...tronik.com
Subject: Re: [PATCH net] net: stmmac: intel: populate entire
system_counterval_t in get_time_fn() callback
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@...r.kernel.org
> Signed-off-by: Markus Blöchl <markus@...chl.de>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists