# Re: spinlock.c:306:9: error: implicit declaration of function '\_\_raw\_write\_lock\_nested'

- From: Sebastian Andrzej Siewior \<bigeasy@linutronix.de\>
- Date: 2021-11-23 14:50:12 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2021/11/1582871
- Thread: https://ratatoskr.run/linux-next/2021/11/1582620/t.md

```text
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@intel.com/

I'm on it. Almost done.

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

Sebastian
```
