Re: [PATCH] USB: add USB test and measurement class driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Tuesday, August 26, 2008 - 8:12 pm

On Tue, Aug 26, 2008 at 05:05:01PM -0700, Greg KH wrote:

Heck, I'll review my own patch, as I noticed I forgot some things:


needs Documentation/ABI description of new sysfs files


These should match the usbif description names to make it easier to
understand.


This can all be done at probe() time, no need to wait until open().


This buffer should be local to the function, and not the device as we
could overlap reads and writes.  It should be removed from the device
itself to make sure everything is correct.  The ioctls already have
their own local buffers, fixing a bug in the original driver which used
1! buffer for all devices and all commands...

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] USB: add USB test and measurement class driver, Greg KH, (Tue Aug 26, 8:12 pm)
Re: [PATCH] USB: add USB test and measurement class driver, Marcel Janssen, (Tue Aug 26, 11:22 pm)
Re: [PATCH] USB: add USB test and measurement class driver, Oliver Neukum, (Wed Aug 27, 10:05 am)