lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87jyzx2hpr.wl-tiwai@suse.de>
Date: Tue, 11 Nov 2025 07:42:24 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Corey Minyard <corey@...yard.net>,	Christian König
 <christian.koenig@....com>,	"Dr. David Alan Gilbert" <linux@...blig.org>,
	Alex Deucher <alexander.deucher@....com>,	Thomas Zimmermann
 <tzimmermann@...e.de>,	Dmitry Baryshkov
 <dmitry.baryshkov@....qualcomm.com>,	Rob Clark
 <robin.clark@....qualcomm.com>,	Matthew Brost <matthew.brost@...el.com>,
	Hans Verkuil <hverkuil@...nel.org>,	Laurent Pinchart
 <laurent.pinchart+renesas@...asonboard.com>,	Ulf Hansson
 <ulf.hansson@...aro.org>,	Vitaly Lifshits <vitaly.lifshits@...el.com>,
	Manivannan Sadhasivam <mani@...nel.org>,	Niklas Cassel <cassel@...nel.org>,
	Calvin Owens <calvin@...nvd.org>,	Sagi Maimon <maimon.sagi@...il.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,	Karan Tilak Kumar
 <kartilak@...co.com>,	Casey Schaufler <casey@...aufler-ca.com>,	Steven
 Rostedt <rostedt@...dmis.org>,	Petr Mladek <pmladek@...e.com>,	Max
 Kellermann <max.kellermann@...os.com>,	Takashi Iwai <tiwai@...e.de>,
	linux-doc@...r.kernel.org,	linux-kernel@...r.kernel.org,
	openipmi-developer@...ts.sourceforge.net,	linux-media@...r.kernel.org,
	dri-devel@...ts.freedesktop.org,	linaro-mm-sig@...ts.linaro.org,
	amd-gfx@...ts.freedesktop.org,	linux-arm-msm@...r.kernel.org,
	freedreno@...ts.freedesktop.org,	intel-xe@...ts.freedesktop.org,
	linux-mmc@...r.kernel.org,	netdev@...r.kernel.org,
	intel-wired-lan@...ts.osuosl.org,	linux-pci@...r.kernel.org,
	linux-s390@...r.kernel.org,	linux-scsi@...r.kernel.org,
	linux-staging@...ts.linux.dev,	ceph-devel@...r.kernel.org,
	linux-trace-kernel@...r.kernel.org,	linux-sound@...r.kernel.org,	Rasmus
 Villemoes <linux@...musvillemoes.dk>,	Sergey Senozhatsky
 <senozhatsky@...omium.org>,	Jonathan Corbet <corbet@....net>,	Sumit Semwal
 <sumit.semwal@...aro.org>,	Gustavo Padovan <gustavo@...ovan.org>,	David
 Airlie <airlied@...il.com>,	Simona Vetter <simona@...ll.ch>,	Maarten
 Lankhorst <maarten.lankhorst@...ux.intel.com>,	Maxime Ripard
 <mripard@...nel.org>,	Dmitry Baryshkov <lumag@...nel.org>,	Abhinav Kumar
 <abhinav.kumar@...ux.dev>,	Jessica Zhang <jesszhan0024@...il.com>,	Sean
 Paul <sean@...rly.run>,	Marijn Suijten <marijn.suijten@...ainline.org>,
	Konrad Dybcio <konradybcio@...nel.org>,	Lucas De Marchi
 <lucas.demarchi@...el.com>,	Thomas Hellström
 <thomas.hellstrom@...ux.intel.com>,	Rodrigo Vivi <rodrigo.vivi@...el.com>,
	Mauro Carvalho Chehab <mchehab@...nel.org>,	Vladimir Oltean
 <olteanv@...il.com>,	Andrew Lunn <andrew@...n.ch>,	"David S. Miller"
 <davem@...emloft.net>,	Eric Dumazet <edumazet@...gle.com>,	Jakub Kicinski
 <kuba@...nel.org>,	Paolo Abeni <pabeni@...hat.com>,	Tony Nguyen
 <anthony.l.nguyen@...el.com>,	Przemek Kitszel
 <przemyslaw.kitszel@...el.com>,	Krzysztof Wilczyński
 <kwilczynski@...nel.org>,	Kishon Vijay Abraham I <kishon@...nel.org>,	Bjorn
 Helgaas <bhelgaas@...gle.com>,	Rodolfo Giometti <giometti@...eenne.com>,
	Jonathan Lemon <jonathan.lemon@...il.com>,	Vadim Fedorenko
 <vadim.fedorenko@...ux.dev>,	Richard Cochran <richardcochran@...il.com>,
	Stefan Haberland <sth@...ux.ibm.com>,	Jan Hoeppner
 <hoeppner@...ux.ibm.com>,	Heiko Carstens <hca@...ux.ibm.com>,	Vasily Gorbik
 <gor@...ux.ibm.com>,	Alexander Gordeev <agordeev@...ux.ibm.com>,	Christian
 Borntraeger <borntraeger@...ux.ibm.com>,	Sven Schnelle
 <svens@...ux.ibm.com>,	Satish Kharat <satishkh@...co.com>,	Sesidhar Baddela
 <sebaddel@...co.com>,	"James E.J. Bottomley"
 <James.Bottomley@...senPartnership.com>,	Greg Kroah-Hartman
 <gregkh@...uxfoundation.org>,	Xiubo Li <xiubli@...hat.com>,	Ilya Dryomov
 <idryomov@...il.com>,	Masami Hiramatsu <mhiramat@...nel.org>,	Mathieu
 Desnoyers <mathieu.desnoyers@...icios.com>,	Andrew Morton
 <akpm@...ux-foundation.org>,	Jaroslav Kysela <perex@...ex.cz>,	Takashi Iwai
 <tiwai@...e.com>
Subject: Re: [PATCH v1 02/23] ALSA: seq: Switch to use %ptSp

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 <andriy.shevchenko@...ux.intel.com>
> ---
>  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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ