[patch] printk format for u16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt
index 361789d..955866c 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        %hu or %hx
         unsigned int        %u or %x
         long            %ld or %lx
         unsigned long        %lu or %lx
@@ -22,6 +23,7 @@ Integer types
         size_t            %zu or %zx
         ssize_t            %zd or %zx
         s32            %d or %x
+        u16            %hu or %hx
         u32            %u or %x
         s64            %lld or %llx
         u64            %llu or %llx


Thanks
Tamim
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux