> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf
> Of Andy Shevchenko
> Sent: Tuesday, November 11, 2025 1:20 PM
> To: Corey Minyard <[email protected]>; Christian König
> <[email protected]>; Dr. David Alan Gilbert
> <[email protected]>; Alex Deucher <[email protected]>; Thomas
> Zimmermann <[email protected]>; Dmitry Baryshkov
> <[email protected]>; Rob Clark
> <[email protected]>; Brost, Matthew
> <[email protected]>; Ulf Hansson <[email protected]>; Andy
> Shevchenko <[email protected]>; Lifshits, Vitaly
> <[email protected]>; Manivannan Sadhasivam <[email protected]>;
> Niklas Cassel <[email protected]>; Calvin Owens <[email protected]>;
> Vadim Fedorenko <[email protected]>; Sagi Maimon
> <[email protected]>; Martin K. Petersen
> <[email protected]>; Karan Tilak Kumar <[email protected]>;
> Hans Verkuil <[email protected]>; Casey Schaufler
> <[email protected]>; Steven Rostedt <[email protected]>; Petr
> Mladek <[email protected]>; Viacheslav Dubeyko <[email protected]>;
> Max Kellermann <[email protected]>; [email protected];
> [email protected]; openipmi-
> [email protected]; [email protected]; dri-
> [email protected]; [email protected]; amd-
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; intel-wired-
> [email protected]; [email protected]; linux-
> [email protected]; [email protected]; linux-
> [email protected]; [email protected]; linux-trace-
> [email protected]
> Cc: Rasmus Villemoes <[email protected]>; Sergey Senozhatsky
> <[email protected]>; Jonathan Corbet <[email protected]>; Sumit
> Semwal <[email protected]>; Gustavo Padovan
> <[email protected]>; David Airlie <[email protected]>; Simona Vetter
> <[email protected]>; Maarten Lankhorst
> <[email protected]>; Maxime Ripard
> <[email protected]>; Dmitry Baryshkov <[email protected]>; Abhinav
> Kumar <[email protected]>; Jessica Zhang
> <[email protected]>; Sean Paul <[email protected]>; Marijn Suijten
> <[email protected]>; Konrad Dybcio
> <[email protected]>; De Marchi, Lucas <[email protected]>;
> Thomas Hellström <[email protected]>; Vivi, Rodrigo
> <[email protected]>; Vladimir Oltean <[email protected]>; Andrew
> Lunn <[email protected]>; David S. Miller <[email protected]>; Eric
> Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo
> Abeni <[email protected]>; Nguyen, Anthony L
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Krzysztof Wilczyński
> <[email protected]>; Kishon Vijay Abraham I <[email protected]>;
> Bjorn Helgaas <[email protected]>; Rodolfo Giometti
> <[email protected]>; Richard Cochran <[email protected]>;
> Jonathan Lemon <[email protected]>; Stefan Haberland
> <[email protected]>; Jan Hoeppner <[email protected]>; Heiko
> Carstens <[email protected]>; Vasily Gorbik <[email protected]>;
> Alexander Gordeev <[email protected]>; Christian Borntraeger
> <[email protected]>; Sven Schnelle <[email protected]>;
> Satish Kharat <[email protected]>; Baddela, Sesidhar
> <[email protected]>; James E.J. Bottomley
> <[email protected]>; Mauro Carvalho Chehab
> <[email protected]>; Greg Kroah-Hartman <[email protected]>;
> Xiubo Li <[email protected]>; Ilya Dryomov <[email protected]>;
> Masami Hiramatsu <[email protected]>; Mathieu Desnoyers
> <[email protected]>; Andrew Morton <akpm@linux-
> foundation.org>
> Subject: [Intel-wired-lan] [PATCH v2 09/21] e1000e: Switch to use
> %ptSp
>
> Use %ptSp instead of open coded variants to print content of struct
> timespec64 in human readable format.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/net/ethernet/intel/e1000e/ptp.c | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/e1000e/ptp.c
> b/drivers/net/ethernet/intel/e1000e/ptp.c
> index ea3c3eb2ef20..ec39e35f3857 100644
> --- a/drivers/net/ethernet/intel/e1000e/ptp.c
> +++ b/drivers/net/ethernet/intel/e1000e/ptp.c
> @@ -229,14 +229,11 @@ static void e1000e_systim_overflow_work(struct
> work_struct *work)
>
> systim_overflow_work.work);
> struct e1000_hw *hw = &adapter->hw;
> struct timespec64 ts;
> - u64 ns;
>
> /* Update the timecounter */
> - ns = timecounter_read(&adapter->tc);
> + ts = ns_to_timespec64(timecounter_read(&adapter->tc));
>
> - ts = ns_to_timespec64(ns);
> - e_dbg("SYSTIM overflow check at %lld.%09lu\n",
> - (long long) ts.tv_sec, ts.tv_nsec);
> + e_dbg("SYSTIM overflow check at %ptSp\n", &ts);
>
> schedule_delayed_work(&adapter->systim_overflow_work,
> E1000_SYSTIM_OVERFLOW_PERIOD);
> --
> 2.50.1
Reviewed-by: Aleksandr Loktionov <[email protected]>