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)
commit88288ed050adb5a96f6063d2d0e3e35bac8e84c2
tree6afe900cb45ca65658dfb47b2def26b3372f7e08
parentf0ae2cfae53b8057380801a7549f388adee59a8e
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