]> git.ipfire.org Git - thirdparty/linux.git/commit
ptp: ocp: Switch to use %ptSp
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 13 Nov 2025 14:32:31 +0000 (15:32 +0100)
committerPetr Mladek <pmladek@suse.com>
Wed, 19 Nov 2025 11:26:07 +0000 (12:26 +0100)
commit4e7c8ab42e19663b426b8e091f210be26b18ca70
tree621b378c04fa5cddcc299b108731c36c49bda1bd
parentb1e7286eeef33ac8a0b686230c250c416b36d200
ptp: ocp: Switch to use %ptSp

Use %ptSp instead of open coded variants to print content of
struct timespec64 in human readable format.

While at it, fix wrong use of %ptT against struct timespec64.
It's kinda lucky that it worked just because the first member
there 64-bit and it's of time64_t type. Now with %ptS it may
be used correctly.

Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251113150217.3030010-18-andriy.shevchenko@linux.intel.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
drivers/ptp/ptp_ocp.c