Re: next-20221122: tinyconfig: ppc n s390: kernel/printk/printk.c:95:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]

From: John Ogness
Date: Tue Nov 22 2022 - 18:14:39 EST


On 2022-11-22, "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
> And here is a first cut. There will be more patches removing uses
> of CONFIG_SRCU.
>
> Thoughts?

I am happy with it. Thanks!

> rcu: Make SRCU mandatory
>
> Kernels configured with CONFIG_PRINTK=n and CONFIG_SRCU=n get build
> failures. This causes trouble for deep embedded systems. But given
> that there are more than 25 instances of "select SRCU" in the kernel,
> it is hard to believe that there are many kernels running in production
> without SRCU. This commit therefore makes SRCU mandatory. The SRCU
> Kconfig option remains for backwards compatibility, and will be removed
> when it is no longer used.
>
> Reported-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
> Reported-by: Petr Mladek <pmladek@xxxxxxxx>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>