Re: linux-next: build failure after merge of the printk tree

From: Petr Mladek
Date: Fri Dec 06 2019 - 05:04:03 EST


On Fri 2019-12-06 09:25:03, Stephen Rothwell wrote:
> Hi all,
>
> After merging the printk tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> kernel/trace/trace.c: In function 'register_tracer':
> kernel/trace/trace.c:1892:3: error: implicit declaration of function 'pr_warning'; did you mean 'pr_warn'? [-Werror=implicit-function-declaration]
> 1892 | pr_warning("Can not register tracer %s due to lockdown\n",
> | ^~~~~~~~~~
> | pr_warn
>
> Caused by commit
>
> 55130ba7f010 ("printk: Drop pr_warning definition")
>
> interacting with commit
>
> a356646a5685 ("tracing: Do not create directories if lockdown is in affect")
>
> from Linus' tree.
>
> I have applied the following merge fix patch for today:
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Fri, 6 Dec 2019 09:21:57 +1100
> Subject: [PATCH] fix up for "printk: Drop pr_warning definition"
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

I have pushed the patch into printk.git, for-5.5-pr_warning-removal.
And updated the for-next branch.

Thanks a lot for the fix and sorry for the incovenience.

Best Regards,
Petr