]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - Documentation/printk-formats.txt
vsprintf: add support of '%*ph[CDN]'
[karo-tx-linux.git] / Documentation / printk-formats.txt
index d8d168fa79d654f7c21175b10e6b00d824d762fc..7561d7ed8e11ef25a9a1fb479492148b6f038d5d 100644 (file)
@@ -53,6 +53,16 @@ Struct Resources:
        For printing struct resources. The 'R' and 'r' specifiers result in a
        printed resource with ('R') or without ('r') a decoded flags member.
 
+Raw buffer as a hex string:
+       %*ph    00 01 02  ...  3f
+       %*phC   00:01:02: ... :3f
+       %*phD   00-01-02- ... -3f
+       %*phN   000102 ... 3f
+
+       For printing a small buffers (up to 64 bytes long) as a hex string with
+       certain separator. For the larger buffers consider to use
+       print_hex_dump().
+
 MAC/FDDI addresses:
 
        %pM     00:01:02:03:04:05