]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - lib/vsprintf.c
doc: printk-formats: Remove bogus kobject references for device nodes
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Oct 2018 11:08:48 +0000 (13:08 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 12 Oct 2018 17:38:18 +0000 (11:38 -0600)
commit94ac8f2074b22465f75e93ecbb98060d7960f4b6
treede6f9b2ff3a568e3fa17ab1f4e49c9ce9b7797d5
parent44280690ced5dacd3004d4966ef9b15f940f34e0
doc: printk-formats: Remove bogus kobject references for device nodes

When converting from text to rst, the kobjects section and its sole
subsection about device tree nodes were coalesced into a single section,
yielding an inconsistent result.

Remove all references to kobjects, as
  1. Device tree object pointers are not compatible to kobject pointers
     (the former may embed the latter, though), and
  2. there are no printk formats defined for kobject types.

Update the vsprintf() source code comments to match the above.

Fixes: b3ed23213eab1e08 ("doc: convert printk-formats.txt to rst")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/printk-formats.rst
lib/vsprintf.c