Thread (24 messages) 24 messages, 11 authors, 2021-11-26

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
Also in: linux-sh, lkml

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/ (local)
I'm on it. Almost done.
Gr{oetje,eeting}s,

                        Geert
Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help