Re: [PATCH v1 1/1] fs/namespace: fnic: Switch to use %ptTd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux