<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/misc, branch v2.6.28</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-11-13T22:45:03Z</updated>
<entry>
<title>USB: SISUSB2VGA driver: add 0x0711, 0x0903</title>
<updated>2008-11-13T22:45:03Z</updated>
<author>
<name>Albert Comerma</name>
<email>albert@ecm.ub.es</email>
</author>
<published>2008-11-04T18:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=859ff4072027ea7741121b902c59763f090e00c2'/>
<id>urn:sha1:859ff4072027ea7741121b902c59763f090e00c2</id>
<content type='text'>
Signed-off-by: Albert Comerma &lt;albert.comerma@gmail.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: vstusb: fix compiler warning on x86-64</title>
<updated>2008-11-13T22:45:00Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-10-31T17:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c5ab376b0b579cf58f9217dcd7a94d817f7a043'/>
<id>urn:sha1:6c5ab376b0b579cf58f9217dcd7a94d817f7a043</id>
<content type='text'>
This fixes a reported compiler warning.

Reported-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: usbtest.c: length, sglen and vary are unsigned, so cannot be negative</title>
<updated>2008-10-22T17:05:28Z</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2008-10-21T04:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8aafdf6a1528b0672a0527be473d9be5a12289d3'/>
<id>urn:sha1:8aafdf6a1528b0672a0527be473d9be5a12289d3</id>
<content type='text'>
length, sglen and vary are unsigned, so cannot be negative

see
vi drivers/usb/misc/usbtest.c +18
struct usbtest_param {
...
        unsigned                iterations;
        unsigned                length;
        unsigned                vary;
        unsigned                sglen;
...
};

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: remove err() macro from usb misc drivers</title>
<updated>2008-10-17T21:41:13Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-08-14T16:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fd3f1917e345d852ef9ae36178719f4e639f70ae'/>
<id>urn:sha1:fd3f1917e345d852ef9ae36178719f4e639f70ae</id>
<content type='text'>
USB should not be having it's own printk macros, so remove err() and
use the system-wide standard of dev_err() wherever possible.  In the
few places that will not work out, use a basic printk().

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: remove info() macro from usb/misc drivers</title>
<updated>2008-10-17T21:41:09Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-08-18T20:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1b29a375fb0b79a11a2d18e7bf5f6da422a35025'/>
<id>urn:sha1:1b29a375fb0b79a11a2d18e7bf5f6da422a35025</id>
<content type='text'>
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: remove warn() macro from usb drivers</title>
<updated>2008-10-17T21:41:09Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-08-14T16:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b6004f3b5a8b4506fa8dee29667aed44913a990'/>
<id>urn:sha1:3b6004f3b5a8b4506fa8dee29667aed44913a990</id>
<content type='text'>
USB should not be having it's own printk macros, so remove warn() and
use the system-wide standard of dev_warn() wherever possible.  In the
few places that will not work out, use a basic printk().

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: fix up problems in the vtusb driver</title>
<updated>2008-10-17T21:41:04Z</updated>
<author>
<name>Stephen Ware</name>
<email>stephen.ware@eqware.net</email>
</author>
<published>2008-10-08T17:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=84dcd594952bf9b95b3901516a61e57abdf54d62'/>
<id>urn:sha1:84dcd594952bf9b95b3901516a61e57abdf54d62</id>
<content type='text'>
Add range check on buffer sizes passed in from user space
(max is 8*PAGE_SIZE) which will work for the most common
spectrometers even at pages as small as 1K.

Add kref to vst device structure to preserve reference to the
usb object until we truly are done with it.

From: Stephen Ware &lt;stephen.ware@eqware.net&gt;
From: Dennis O'Brien &lt;dennis.obrien@eqware.net&gt;
Signed-off-by: Dennis O'Brien &lt;dennis.obrien@eqware.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: ftdi-elan: Always pass usb_bulk_msg() a timeout in milliseconds.</title>
<updated>2008-10-17T21:41:02Z</updated>
<author>
<name>Sarah Sharp</name>
<email>sarah.a.sharp@linux.intel.com</email>
</author>
<published>2008-09-29T17:58:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c0f082c5367a02e8493d779e16ad336167e14718'/>
<id>urn:sha1:c0f082c5367a02e8493d779e16ad336167e14718</id>
<content type='text'>
The kernel doc for usb_bulk_msg() says the timeout for a bulk message should be
specified in milliseconds.  The ftdi-elan driver converts milliseconds to
jiffies before passing the timeout to usb_bulk_msg().  This is mostly harmless,
since it will just lead to very long timeouts, but was obviously not the intent
of the original author.

Signed-off-by: Sarah Sharp &lt;sarah.a.sharp@intel.com&gt;
Acked-by: Tony Olech &lt;tony.olech@elandigitalsystems.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>usb: vstusb.c : new driver for spectrometers used by Vernier Software &amp; Technology, Inc.</title>
<updated>2008-10-17T21:41:01Z</updated>
<author>
<name>Stephen Ware</name>
<email>stephen.ware@eqware.net</email>
</author>
<published>2008-09-30T18:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cbc30118d7a376dab4113f299c0c8f035737a5c3'/>
<id>urn:sha1:cbc30118d7a376dab4113f299c0c8f035737a5c3</id>
<content type='text'>
This patch adds the vstusb driver to the drivers/usb/misc directory.
This driver provides support for Vernier Software &amp; Technology
spectrometers, all made by Ocean Optics. The driver provides both IOCTL
and read()/write() methods for sending raw data to spectrometers across
the bulk channel. Each method allows for a configured timeout.

From: Stephen Ware &lt;stephen.ware@eqware.net&gt;
Signed-off-by: Dennis O'Brien &lt;dennis.obrien@eqware.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>USB: drivers/usb/misc: Use an IS_ERR test rather than a NULL test</title>
<updated>2008-10-17T21:40:53Z</updated>
<author>
<name>Julien Brunel</name>
<email>brunel@diku.dk</email>
</author>
<published>2008-09-01T08:57:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bedf0883cbe3015d21aec5ed47ddffb429f6cca7'/>
<id>urn:sha1:bedf0883cbe3015d21aec5ed47ddffb429f6cca7</id>
<content type='text'>
In case of error, the function backlight_device_register returns an
ERR pointer, but never returns a NULL pointer. So a NULL test that may
come after a call to this function should be strengthened by an IS_ERR
test.

The semantic match that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@match_bad_null_test@
expression x, E;
statement S1,S2;
@@
x = backlight_device_register(...)
... when != x = E
* if (x != NULL) 
S1 else S2
// &lt;/smpl&gt;

Signed-off-by: Julien Brunel &lt;brunel@diku.dk&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
