]> Gentwo Git Trees - linux/.git/commit
lib/vsprintf: Add specifier for printing struct timespec64
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 13 Nov 2025 14:32:15 +0000 (15:32 +0100)
committerPetr Mladek <pmladek@suse.com>
Wed, 19 Nov 2025 09:24:13 +0000 (10:24 +0100)
commitbccd5937447f8a2c9db0e4a92e5ecb641b8ce7de
tree7ed133a34ed57374e9412f432fc66dfc350d3f2f
parent48e3694ae7fae347c1193c84f384f4ea41086075
lib/vsprintf: Add specifier for printing struct timespec64

A handful drivers want to print a content of the struct timespec64
in a format of %lld:%09ld. In order to make their lives easier, add
the respecting specifier directly to the printf() implementation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Link: https://patch.msgid.link/20251113150217.3030010-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Documentation/core-api/printk-formats.rst
lib/tests/printf_kunit.c
lib/vsprintf.c