Skip to content

lib/vsprintf: Introduce %ptT for time64_t

Andy Shevchenko lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 18 repliesIn review
  2. v24 patches 3 repliesSuperseded
  3. v14 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/vsprintf: Print time64_t in human readable formatDocumentation/core-api/printk-formats.rst lib/test_printf.c lib/vsprintf.c+51 -154 replies
2/3ARM: bcm2835: Switch to use %ptTdrivers/firmware/raspberrypi.c+3 -97 replies
3/3usb: pulse8-cec: Switch to use %ptTdrivers/media/usb/pulse8-cec/pulse8-cec.c+1 -50 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexandre BelloniHans VerkuilPetr MladekSergey Senozhatsky
SeriesRewieved-by A-b
1/3R-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

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

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(-)
Signature · 1 line
2.25.1