lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFgPn1Dfen9u6ebs0ke3eZ3D0jREzRa3OY0tKRasyRMQbhjTqw@mail.gmail.com>
Date:   Mon, 9 Jul 2018 19:04:46 -0400
From:   "Md. Islam" <mislam4@...t.edu>
To:     linux-kernel@...r.kernel.org,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        linux-doc@...r.kernel.org
Subject: [patch] printk format for u16

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ