On Mon, 10 Nov 2025 19:40:21 +0100, Andy Shevchenko wrote: > > Use %ptSp instead of open coded variants to print content of > struct timespec64 in human readable format. > > Signed-off-by: Andy Shevchenko <[email protected]> > --- > sound/core/seq/seq_queue.c | 2 +- > sound/core/seq/seq_timer.c | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/sound/core/seq/seq_queue.c b/sound/core/seq/seq_queue.c > index f5c0e401c8ae..f6e86cbf38bc 100644 > --- a/sound/core/seq/seq_queue.c > +++ b/sound/core/seq/seq_queue.c > @@ -699,7 +699,7 @@ void snd_seq_info_queues_read(struct snd_info_entry > *entry, > snd_iprintf(buffer, "current tempo : %d\n", tmr->tempo); > snd_iprintf(buffer, "tempo base : %d ns\n", > tmr->tempo_base); > snd_iprintf(buffer, "current BPM : %d\n", bpm); > - snd_iprintf(buffer, "current time : %d.%09d s\n", > tmr->cur_time.tv_sec, tmr->cur_time.tv_nsec); > + snd_iprintf(buffer, "current time : %ptSp s\n", > &tmr->cur_time); > snd_iprintf(buffer, "current tick : %d\n", > tmr->tick.cur_tick); > snd_iprintf(buffer, "\n"); > }
tmr->cur_time isn't struct timespec64, but it's struct tmr->snd_seq_real_time. thanks, Takashi
