mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
dma-buf: Switch to use %ptSp
Use %ptSp instead of open coded variants to print content of struct timespec64 in human readable format. Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20251113150217.3030010-5-andriy.shevchenko@linux.intel.com Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
parent
98e41fb0ec
commit
c6e049b621
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ static void sync_print_fence(struct seq_file *s,
|
|||
struct timespec64 ts64 =
|
||||
ktime_to_timespec64(fence->timestamp);
|
||||
|
||||
seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec);
|
||||
seq_printf(s, "@%ptSp", &ts64);
|
||||
}
|
||||
|
||||
seq_printf(s, ": %lld", fence->seqno);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue