lkml.org 
[lkml]   [2011]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tip:core/locking] lockdep: Fix lockdep_no_validate against IRQ states
From
Date
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.


\
 
 \ /
  Last update: 2011-07-29 07:57    [W:0.044 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site