From: Lukas Funke <lukas.fu...@weidmueller.com> Add '%*pb[l]' printf format specifier as descriped in [1].
[1] https://www.kernel.org/doc/Documentation/printk-formats.txt Signed-off-by: Lukas Funke <lukas.fu...@weidmueller.com> --- (no changes since v1) doc/develop/printf.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/develop/printf.rst b/doc/develop/printf.rst index 99d05061b1..c3537b1796 100644 --- a/doc/develop/printf.rst +++ b/doc/develop/printf.rst @@ -165,6 +165,12 @@ Pointers * phys_size_t * resource_size_t +%*pb, %*pbl + prints bitmap and its derivatives such as cpumask and nodemask. + '%*pb' outputs the bitmap with field width as the number of bits + and '%*pbl' outputs the bitmap as range list with field width as + the number of bits. + %pD prints a UEFI device path -- 2.30.2