]> git.baikalelectronics.ru Git - kernel.git/commit
docs: printk-formats: add ptrdiff_t type to printk-formats
authorMiles Chen <miles.chen@mediatek.com>
Tue, 1 Oct 2019 10:04:49 +0000 (18:04 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 7 Nov 2019 20:17:26 +0000 (13:17 -0700)
commit58e39e7f7b478bee950d011ab0ad906f1e830e00
tree6afe900cb45ca65658dfb47b2def26b3372f7e08
parenta79a4bf9521431f18990d822f933984c76b7cfaf
docs: printk-formats: add ptrdiff_t type to printk-formats

When print the difference between two pointers, we should use
the ptrdiff_t modifier %t.

Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/printk-formats.rst