Commit 4e7c8ab
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>1 parent b1e7286 commit 4e7c8ab
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4287 | 4287 | | |
4288 | 4288 | | |
4289 | 4289 | | |
4290 | | - | |
4291 | | - | |
4292 | | - | |
4293 | | - | |
4294 | | - | |
| 4290 | + | |
| 4291 | + | |
| 4292 | + | |
4295 | 4293 | | |
4296 | 4294 | | |
4297 | 4295 | | |
| |||
4499 | 4497 | | |
4500 | 4498 | | |
4501 | 4499 | | |
4502 | | - | |
4503 | | - | |
4504 | | - | |
| 4500 | + | |
| 4501 | + | |
4505 | 4502 | | |
4506 | 4503 | | |
4507 | 4504 | | |
| |||
0 commit comments