Re: [PATCH] fix hwmon/i5k_amb.c sysfs attribute for lockdep

From: Jiri Kosina
Date: Thu Jun 10 2010 - 05:16:13 EST


On Wed, 9 Jun 2010, Jean Delvare wrote:

> On Wed, 9 Jun 2010 14:00:00 +0900, KAMEZAWA Hiroyuki wrote:
> > I'm not familiar with this area but I need this patch for lockdep in mmotm.
> > please check.
> > -Kame
> > ==
> > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> >
> > i5k_amb.ko uses dynamically allocated memory (by kmalloc) for
> > attributes passed to sysfs. So, sysfs_attr_init() should be called
> > for working happy with lockdep.
>
> Such a fix is needed, yes. I though Jiri was working on it... Jiri?

It's still on my TODO list, but I haven't gotten to it yet. So whoever
beats me up fixing it, please merge that. Thanks.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
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/