Re: [tip:core/locking] lockdep: Fix lockdep_no_validate againstIRQ states

From: Peter Zijlstra
Date: Fri Jul 29 2011 - 01:54:55 EST


On Fri, 2011-07-29 at 11:38 +0800, Li Zefan wrote:
> > + if (hlock_class(hlock)->key ==
> &__lockdep_no_validate__)
> > + continue;
> > +
>
> The 2 pointers are not the same type.
>
> kernel/lockdep.c: In function 'mark_held_locks':
> kernel/lockdep.c:2471:31: warning: comparison of distinct pointer
> types lacks a cast

Yeah, I know, I've even got a fix queued up.. Thanks though.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/