printk format for u16 and u8

Started by Md. Islam on Jul 13, 2018

Subsystems (2)

Maintainers (2)

DORMANTno replies

open the first message on its own page

Message details and related content
diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt
index 361789d..d878079 100644
--- a/Documentation/printk-formats.txt
+++ b/Documentation/printk-formats.txt
@@ -14,6 +14,7 @@ Integer types
     If variable is of Type,        use printk format specifier:
     ------------------------------------------------------------
         int            %d or %x
+        unsigned short        %d or %x
         unsigned int        %u or %x
         long            %ld or %lx
         unsigned long        %lu or %lx
@@ -22,6 +23,8 @@ Integer types
         size_t            %zu or %zx
         ssize_t            %zd or %zx
         s32            %d or %x
+        u8            %d or %x
+        u16            %d or %x
         u32            %u or %x
         s64            %lld or %llx
         u64            %llu or %llx
Could you please let me know if it makes sense?

Thanks
Tamim
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help