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: <9f461bf7-3651-4be4-b6f9-20853cdc4c90@kernel.org>
Date: Tue, 11 Nov 2025 08:57:43 +0100
From: Hans Verkuil <hverkuil+cisco@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
 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
Cc: 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 13/23] media: av7110: Switch to use %ptSp

On 10/11/2025 19:40, 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>

Acked-by: Hans Verkuil <hverkuil+cisco@...nel.org>

Regards,

	Hans

> ---
>  drivers/staging/media/av7110/av7110.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/media/av7110/av7110.c b/drivers/staging/media/av7110/av7110.c
> index bc9a2a40afcb..602342d1174f 100644
> --- a/drivers/staging/media/av7110/av7110.c
> +++ b/drivers/staging/media/av7110/av7110.c
> @@ -321,7 +321,7 @@ static inline void print_time(char *s)
>  	struct timespec64 ts;
>  
>  	ktime_get_real_ts64(&ts);
> -	pr_info("%s(): %lld.%09ld\n", s, (s64)ts.tv_sec, ts.tv_nsec);
> +	pr_info("%s(): %ptSp\n", s, &ts);
>  #endif
>  }
>  


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ