[PATCH v3 0/3] lib/vsprintf: Introduce %ptT for time64_t

From: Andy Shevchenko
Date: Wed Apr 15 2020 - 13:01:31 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.

Andrew, since Petr can't pay attention on this perhaps it can be passed thru
your tree?

Sergey, Steven, what do you think?

In v3:
- added tag (Alexandre)
- dropped for now USB Tegra patch (Thierry wasn't clear about)

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 (3):
lib/vsprintf: Print time64_t in human readable format
ARM: bcm2835: Switch to use %ptT
[media] usb: pulse8-cec: 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 +----
lib/test_printf.c | 13 +++++++---
lib/vsprintf.c | 31 +++++++++++++++++++++--
5 files changed, 55 insertions(+), 29 deletions(-)

--
2.25.1