[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1311918856.5890.212.camel@twins>
Date: Fri, 29 Jul 2011 07:54:16 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Li Zefan <lizf@...fujitsu.com>
Cc: mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
tglx@...utronix.de, mingo@...e.hu,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/locking] lockdep: Fix lockdep_no_validate against
IRQ states
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists