[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1266674406.18465.8.camel@jlt3.sipsolutions.net>
Date: Sat, 20 Feb 2010 15:00:06 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Américo Wang <xiyou.wangcong@...il.com>
Cc: Kernel development list <linux-kernel@...r.kernel.org>,
ebiederm@...ssion.com, gregkh@...e.de
Subject: Re: sysfs lockdep complaint
On Sat, 2010-02-20 at 21:54 +0800, Américo Wang wrote:
> > /* Allocated above after the legacy_io struct */
> >- sysfs_bin_attr_init(&b->legacy_mem);
> > b->legacy_mem = b->legacy_io + 1;
> >+ sysfs_bin_attr_init(b->legacy_mem);
Also note the reordering to make it not crash ...
johannes
--
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