* USB gadgets, small bug
@ 2004-05-07 12:02 kernel
0 siblings, 0 replies; only message in thread
From: kernel @ 2004-05-07 12:02 UTC (permalink / raw)
To: linux-kernel
Hi All,
I don't know where else to report this, but I found a very very very
minor bug in the usb gadgets drivers, specifically the file_storage.c
mass storage driver.
In the function do_request_sense(..) it says:
buf[7] = 18 - 7; // Additional sense length
Whereas (according to page 38 of the USB mass storage class, UFI command spec,
http://www.usb.org/developers/devclass_docs#approved) this clearly neads
to be equal to 10, not 11.
I checked with the 2.6.5 source, it is still there. Hope someone will find this usefull, although most USB hosts seem to ignore length bits alltogether anyway....
Koen Martens
--
http://www.sonologic.nl/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07 12:02 USB gadgets, small bug kernel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.