From: Lukas Funke <lukas.fu...@weidmueller.com>

Add '%pbl' 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>
---

Changes in v3:
- Remove '%bp' from documentation
- Give an example output in the documentation

 doc/develop/printf.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/develop/printf.rst b/doc/develop/printf.rst
index 99d05061b1..8220c7c12b 100644
--- a/doc/develop/printf.rst
+++ b/doc/develop/printf.rst
@@ -165,6 +165,10 @@ Pointers
        * phys_size_t
        * resource_size_t
 
+%pbl
+        '%pbl' outputs a bitmap as range list with field width as
+        the number of bits. e.g. '0,8-11,13-16,18-19,22-25,27,29,31'
+
 %pD
         prints a UEFI device path
 
-- 
2.30.2

Reply via email to