[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020905040041n721336a0t4c0f4c25eb272abf@mail.gmail.com>
Date: Mon, 4 May 2009 10:41:51 +0300
From: Pekka Enberg <penberg@...helsinki.fi>
To: David Brownell <david-b@...bell.net>
Cc: Oliver Neukum <oliver@...kum.org>, Li Hong <lihong.hi@...il.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: use memdup_user()
Hi!
On Sunday 03 May 2009, Oliver Neukum wrote:
>> No. To make it plain. To me any use of memdup_user() in USB code
>> is a bad idea. I don't want to have to think about a new primitive.
On Mon, May 4, 2009 at 10:02 AM, David Brownell <david-b@...bell.net> wrote:
> Unless it's incorrect to use that, I have to say that it
> makes more sense to use that utility than recreate it by
> open-coding...
Yup, and I don't really see how anyone can avoid "thinking about a new
primitive" anyway. We have it in the kernel now and surely it will
appear under drivers/usb/ sooner or later...
Pekka
--
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