Re: [PATCH 3/3] lockdep: new annotation lock_downgrade()

Peter Zijlstra
2017-02-14T12:11:52Z

On Fri, Feb 03, 2017 at 06:05:31AM +0900, J. R. Okajima wrote:
> Peter Zijlstra:
> > > >> kernel/locking/rwsem.c:126:2: error: implicit declaration of functi=
> on 'lock_downgrade' [-Werror=3Dimplicit-function-declaration]
> > > lock_downgrade(&sem->dep_map, _RET_IP_);
> > > ^~~~~~~~~~~~~~
> :::
> > This is what you need !LOCKDEP stubs for ;-)
>
> Ok, here is the update.
> Just one line added.

Thanks!

(this version was white-space mangled but I took the old one and added
the one line).