]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit212b1ce5b828215c109321c791f10b8f25147503
treede6f9b2ff3a568e3fa17ab1f4e49c9ce9b7797d5
parent91d7527ac681c7486fc480570e63f9f945b731be
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: dfee0e2fa8fd9dd9 ("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