Re: [BUG] sysfs: don't use allocated key for lockdep

From: Greg KH
Date: Tue Apr 20 2010 - 12:31:48 EST


On Tue, Apr 20, 2010 at 06:09:27PM +0200, Jiri Kosina wrote:
> On Tue, 20 Apr 2010, Greg KH wrote:
>
> > > lockdep_init_map() {
> > > ......
> > > /*
> > > * Sanity check, the lock-class key must be persistent:
> > > */
> > > if (!static_obj(key)) {
> > > printk("BUG: key %p not in .data!\n", key);
> > > DEBUG_LOCKS_WARN_ON(1);
> > > return;
> > > }
> > > lock->key = key;
> > > ......
> > > }
> > >
> > > Could you please fix it.
> >
> > All in-kernel attributes should now be fixed, so what exactly is the
> > remaining issue?
>
> Are they?
>
> How about my fix to drivers/hwmon/asus_atk0110.c for example, I sent last
> week? http://lkml.org/lkml/2010/4/14/458

Ick, yes, it's still waiting to get sent to Linus, sorry about that,
still catching up on patches :(

thanks,

greg k-h
--
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/