Re: [PATCH v1 1/1] fs/namespace: fnic: Switch to use %ptTd
From: Christian Brauner
Date: Wed Mar 15 2023 - 04:05:38 EST
From: Christian Brauner (Microsoft) <brauner@xxxxxxxxxx>
On Tue, 14 Mar 2023 17:09:06 +0200, Andy Shevchenko wrote:
> Use %ptTd instead of open-coded variant to print contents
> of time64_t type in human readable form.
>
>
Ok, looking at lib/vsprintf.c
pointer(t)
-> time_and_date(T)
-> time64_str()
-> time64_to_tm()
-> rtc_str(d)
-> date_str()
ends up with the same helper and four digits for the year so this seems
like a good cleanup. Thanks!
tree: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping.git
branch: fs.misc
[1/1] fs/namespace: fnic: Switch to use %ptTd
commit: 74e60b8b2f0fe3702710e648a31725ee8224dbdf