Re: spinlock.c:306:9: error: implicit declaration of function '__raw_write_lock_nested'

From: Sebastian Andrzej Siewior
Date: Tue Nov 23 2021 - 09:50:13 EST


On 2021-11-23 15:48:34 [+0100], Geert Uytterhoeven wrote:
> Except for:
>
> kernel/locking/spinlock.c:306:9: error: implicit declaration of
> function '__raw_write_lock_nested'; did you mean
> '_raw_write_lock_nested'? [-Werror=implicit-function-declaration]
> 306 | __raw_write_lock_nested(lock, subclass);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> | _raw_write_lock_nested
>
> Which was also reported for other architectures:
> https://lore.kernel.org/all/202111201111.c2ApGeHR-lkp@xxxxxxxxx/

I'm on it. Almost done.

> Gr{oetje,eeting}s,
>
> Geert

Sebastian