lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 12 Oct 2010 09:03:53 -0700
From:	Dmitry Torokhov <dmitry.torokhov@...il.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Hitoshi Mitake <mitake@....info.waseda.ac.jp>,
	Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
	h.mitake@...il.com, Vojtech Pavlik <vojtech@....cz>,
	Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH 1/2] lockdep: check the depth of subclass

On Tue, Oct 12, 2010 at 12:27:01PM +0200, Peter Zijlstra wrote:
> On Tue, 2010-10-05 at 18:01 +0900, Hitoshi Mitake wrote:
> > ---
> >  drivers/input/mousedev.c |    2 +-
> >  kernel/lockdep.c         |   15 +++++++++++++++
> >  2 files changed, 16 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
> > index d528a2d..9897334 100644
> > --- a/drivers/input/mousedev.c
> > +++ b/drivers/input/mousedev.c
> > @@ -866,7 +866,7 @@ static struct mousedev *mousedev_create(struct input_dev *dev,
> >  	spin_lock_init(&mousedev->client_lock);
> >  	mutex_init(&mousedev->mutex);
> >  	lockdep_set_subclass(&mousedev->mutex,
> > -			     minor == MOUSEDEV_MIX ? MOUSEDEV_MIX : 0);
> > +			     minor == MOUSEDEV_MIX ? SINGLE_DEPTH_NESTING : 0);
> 
> Ah good find.
> 

I'll pick up mousedev change for .37.

Thanks.

-- 
Dmitry
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ