]> git.baikalelectronics.ru Git - kernel.git/commit
printk: Move the printk() kerneldoc comment to its new home
authorJonathan Corbet <corbet@lwn.net>
Sun, 25 Jul 2021 21:16:00 +0000 (15:16 -0600)
committerPetr Mladek <pmladek@suse.com>
Mon, 26 Jul 2021 10:36:44 +0000 (12:36 +0200)
commit9c02cb7272f21b1dadb702f4f5f704e8ac3ac455
treec87b3541239440492816c17a098484d0891a7c74
parentaf858197b12e94ea581e5983f7e3ad0b47e66a2c
printk: Move the printk() kerneldoc comment to its new home

Commit 1da1634f2249 ("printk: Userspace format indexing support") turned
printk() into a macro, but left the kerneldoc comment for it with the (now)
_printk() function, resulting in this docs-build warning:

  kernel/printk/printk.c:1: warning: 'printk' not found

Move the kerneldoc comment back next to the (now) macro it's meant to
describe and have the docs build find it there.

Fixes: 1da1634f22490289 ("printk: Userspace format indexing support")
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/87o8aqt7qn.fsf@meer.lwn.net
Documentation/core-api/printk-basics.rst
include/linux/printk.h
kernel/printk/printk.c