diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-15 19:00:44 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2020-05-20 14:54:18 +0200 |
commit | 7daac5b2fdf88e3c3e84cf0d577f524beb0244ab (patch) | |
tree | a7e917835198b50771bbdc8a31418696316c4798 /drivers/firmware | |
parent | Linux 5.7-rc1 (diff) | |
download | linux-7daac5b2fdf88e3c3e84cf0d577f524beb0244ab.tar.xz linux-7daac5b2fdf88e3c3e84cf0d577f524beb0244ab.zip |
lib/vsprintf: Print time64_t in human readable format
There are users which print time and date represented by content of
time64_t type in human readable format.
Instead of open coding that each time introduce %ptT[dt][r] specifier.
Few test cases for %ptT specifier has been added as well.
Link: https://lore.kernel.org/r/20200415170046.33374-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Rewieved-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions