[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1009172237080.2416@localhost6.localdomain6>
Date: Fri, 17 Sep 2010 22:37:26 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
cc: Greg Kroah-Hartman <gregkh@...e.de>,
"Hans J. Koch" <hjk@...utronix.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] uio: Statically allocate uio_class and use class
.dev_attrs.
On Tue, 14 Sep 2010, Eric W. Biederman wrote:
>
> Instead of adding uio class attributes manually after the uio device has
> been created and we have sent a uevent to userspace, use the class
> attribute mechanism. This removes races and makes the code simpler.
>
> At the same time don't bother to dynamically allocate a struct class for
> uio, just declare one statically. Less code is needed and it is easier
> to set the class parameters.tune the class
>
> Signed-off-by: Eric W. Biederman <ebiederm@...stanetworks.com>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
--
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