]> git.baikalelectronics.ru Git - kernel.git/commit
lockdep: Fix up warning
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 25 Jul 2011 10:09:59 +0000 (12:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Aug 2011 08:17:41 +0000 (10:17 +0200)
commit5215ae02d530911a86d80e60e6d9eaf5a43e98e1
treee6f1d4bdb72ca93e7b13975b02e6e9199148666f
parent93a3fbb964587a4612ab01ef286ec0dd85e1e6ef
lockdep: Fix up warning

On Sun, 2011-07-24 at 21:06 -0400, Arnaud Lacombe wrote:

> /src/linux/linux/kernel/lockdep.c: In function 'mark_held_locks':
> /src/linux/linux/kernel/lockdep.c:2471:31: warning: comparison of
> distinct pointer types lacks a cast

The warning is harmless in this case, but the below makes it go away.

Reported-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1311588599.2617.56.camel@laptop
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c