diff options
author | Petr Mladek | 2023-09-04 11:37:11 +0200 |
---|---|---|
committer | Petr Mladek | 2023-09-04 11:37:11 +0200 |
commit | b355362845704f66c486ecd6b789d9246e990f18 (patch) | |
tree | cd0abde70a72e18486994ad6c0aa7f4f06a38be4 | |
parent | 3e00123a13d824d63072b1824c9da59cd78356d9 (diff) | |
parent | 243e212ff82f6aaabc2793049571a199067738d3 (diff) |
Merge branch 'for-6.6-vsprintf-doc' into for-linus
-rw-r--r-- | Documentation/core-api/printk-formats.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst index dbe1aacc79d0..0eed8a2dcae9 100644 --- a/Documentation/core-api/printk-formats.rst +++ b/Documentation/core-api/printk-formats.rst @@ -15,9 +15,10 @@ Integer types If variable is of Type, use printk format specifier: ------------------------------------------------------------ - char %d or %x + signed char %d or %hhx unsigned char %u or %x - short int %d or %x + char %u or %x + short int %d or %hx unsigned short int %u or %x int %d or %x unsigned int %u or %x @@ -27,9 +28,9 @@ Integer types unsigned long long %llu or %llx size_t %zu or %zx ssize_t %zd or %zx - s8 %d or %x + s8 %d or %hhx u8 %u or %x - s16 %d or %x + s16 %d or %hx u16 %u or %x s32 %d or %x u32 %u or %x |