]> Git Repo - linux.git/commit
lib/vsprintf: Print time and date in human readable format via %pt
authorAndy Shevchenko <[email protected]>
Tue, 4 Dec 2018 21:23:11 +0000 (23:23 +0200)
committerAlexandre Belloni <[email protected]>
Mon, 10 Dec 2018 21:39:34 +0000 (22:39 +0100)
commit4d42c44727a062e233e446c6c86da1c84d762d79
treeb4992b55032b1f92172d8a09b9d515531e0933fb
parent8c4cf161a8b42749e986a3503f6cd4f3b5682fe3
lib/vsprintf: Print time and date in human readable format via %pt

There are users which print time and date represented by content of
struct rtc_time in human readable format.

Instead of open coding that each time introduce %ptR[dt][r] specifier.

Cc: Arnd Bergmann <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Guan Xuetao <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jason Wessel <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Jonathan Hunter <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Petr Mladek <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Documentation/core-api/printk-formats.rst
lib/test_printf.c
lib/vsprintf.c
This page took 0.059465 seconds and 4 git commands to generate.