[PATCH v2 0/4] lib/vsprintf: Introduce %ptT for time64_t
From: Andy Shevchenko
Date: Tue Oct 01 2019 - 09:47:23 EST
It is a logical continuation of previously applied %ptR for struct rtc_time.
We have few users of time64_t that would like to print it.
In v2:
- drop #ifdef CONFIG_RTC_LIB with time64_to_rtc_time() altogether
(Petr, Alexandre)
- update default error path message along with test case for it
- add Hans' Ack for patch 3
Andy Shevchenko (4):
lib/vsprintf: Print time64_t in human readable format
ARM: bcm2835: Switch to use %ptT
[media] usb: pulse8-cec: Switch to use %ptT
usb: host: xhci-tegra: Switch to use %ptT
Documentation/core-api/printk-formats.rst | 22 ++++++++--------
drivers/firmware/raspberrypi.c | 12 +++------
drivers/media/usb/pulse8-cec/pulse8-cec.c | 6 +----
drivers/usb/host/xhci-tegra.c | 6 +----
lib/test_printf.c | 13 +++++++---
lib/vsprintf.c | 31 +++++++++++++++++++++--
6 files changed, 56 insertions(+), 34 deletions(-)
--
2.23.0