Re: [PATCH] printk/documentation: Update printk()/_printk() documentation

From: Petr Mladek
Date: Fri Jul 23 2021 - 07:24:11 EST


On Fri 2021-07-23 13:09:43, Petr Mladek wrote:
> The commit 337015573718b161 ("printk: Userspace format indexing support")
> caused the following warning when building htmldocs:
>
> kernel/printk/printk.c:1: warning: 'printk' not found
>
> The problem is that printk() became a macro that is defined
> in include/linux/printk.h instead of kernel/printk.c. The original
> function was renamed to _printk().
>
> Fixes: 337015573718b161 ("printk: Userspace format indexing support")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>
> Link: https://lore.kernel.org/r/YPbBfdz9srIpI+bb@xxxxxxxxxxxxxx
> ---
> This should do the trick. I do not longer see the warning.

And I have just pushed it together with the other fixes into
printk/linux.git, branch for-5.15-printk-index.

Best Regards,
Petr