<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/misc/idmouse.c, branch linux-2.6.22.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.22.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.22.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-05-08T18:15:07Z</updated>
<entry>
<title>header cleaning: don't include smp_lock.h when not used</title>
<updated>2007-05-08T18:15:07Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2007-05-08T07:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e63340ae6b6205fef26b40a75673d1c9c0c8bb90'/>
<id>urn:sha1:e63340ae6b6205fef26b40a75673d1c9c0c8bb90</id>
<content type='text'>
Remove includes of &lt;linux/smp_lock.h&gt; where it is not used/needed.
Suggested by Al Viro.

Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>USB: Remove unneeded void * casts in idmouse.c</title>
<updated>2007-02-07T23:44:32Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2006-12-20T10:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4727810705d3cf8d565a2cd6c1045bc1db7d3532'/>
<id>urn:sha1:4727810705d3cf8d565a2cd6c1045bc1db7d3532</id>
<content type='text'>
The patch removes unneeded void * casts for the following (void *) pointers:
- struct file: private_data

The patch also contains some whitespace and coding style cleanups in the
relevant areas.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: idmouse cleanup</title>
<updated>2006-12-01T22:23:37Z</updated>
<author>
<name>Mariusz Kozlowski</name>
</author>
<published>2006-11-06T16:37:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54ecf1fba683f779a1b36abed9c843decafc7d5b'/>
<id>urn:sha1:54ecf1fba683f779a1b36abed9c843decafc7d5b</id>
<content type='text'>
Just digging through code and found these needless variable initializations. So here is the patch.

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: idmouse: Use usb_endpoint_* functions</title>
<updated>2006-12-01T22:23:28Z</updated>
<author>
<name>Luiz Fernando N. Capitulino</name>
</author>
<published>2006-10-26T16:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7dc218b8f61d58fcf27ee5650e340d7baff74c4'/>
<id>urn:sha1:a7dc218b8f61d58fcf27ee5650e340d7baff74c4</id>
<content type='text'>
Signed-off-by: Luiz Fernando N. Capitulino &lt;lcapitulino@mandriva.com.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: Make file operations structs in drivers/usb const.</title>
<updated>2006-09-27T18:58:52Z</updated>
<author>
<name>Luiz Fernando N. Capitulino</name>
</author>
<published>2006-08-05T23:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=066202dd48cf3296b6cc22b5fcf89aef33fa0efc'/>
<id>urn:sha1:066202dd48cf3296b6cc22b5fcf89aef33fa0efc</id>
<content type='text'>
Making structs const prevents accidental bugs and with the proper debug
options they're protected against corruption.

Signed-off-by: Luiz Fernando N. Capitulino &lt;lcapitulino@mandriva.com.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36Z</updated>
<author>
<name>Jörn Engel</name>
</author>
<published>2006-06-30T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: convert a bunch of USB semaphores to mutexes</title>
<updated>2006-03-20T22:49:55Z</updated>
<author>
<name>Arjan van de Ven</name>
</author>
<published>2006-01-11T14:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4186ecf8ad16dd05759a09594de6a87e48759ba6'/>
<id>urn:sha1:4186ecf8ad16dd05759a09594de6a87e48759ba6</id>
<content type='text'>
the patch below converts a bunch of semaphores-used-as-mutex in the USB
code to mutexes

Signed-off-by: Arjan van de Ven &lt;arjan@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: kzalloc in idmouse</title>
<updated>2006-03-20T22:49:53Z</updated>
<author>
<name>Oliver Neukum</name>
</author>
<published>2006-01-06T21:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=092e462a537ba60e5f78ff208c8a95e6fd071fa5'/>
<id>urn:sha1:092e462a537ba60e5f78ff208c8a95e6fd071fa5</id>
<content type='text'>
another for kzalloc.

Signed-off-by: Oliver Neukum &lt;oliver@neukum.name&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] USB: remove .owner field from struct usb_driver</title>
<updated>2006-01-04T21:48:34Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2005-11-21T22:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75318d2d7cab77b14c5d3dbd5e69f2680a769e16'/>
<id>urn:sha1:75318d2d7cab77b14c5d3dbd5e69f2680a769e16</id>
<content type='text'>
It is no longer needed, so let's remove it, saving a bit of memory.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] idmouse cleanup and overflow fix</title>
<updated>2005-10-29T17:35:08Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2005-10-29T10:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=018a2cdf1e633497bb4f01eb86a7cbffa611776d'/>
<id>urn:sha1:018a2cdf1e633497bb4f01eb86a7cbffa611776d</id>
<content type='text'>
switched to simple_read_from_buffer(), killed broken use of min().
Incidentally, that use of min() had been fixed once, only to be
reintroduced in commit 4244f72436ab77c3c29a6447af81734ab3925d85:

    [PATCH] USB: upgrade of the idmouse driver

[snip]
-       if (count &gt; IMGSIZE - *ppos)
-               count = IMGSIZE - *ppos;
+       count = min ((loff_t)count, IMGSIZE - (*ppos));

Note the lovely use of cast to shut the warning about misuse of min()
up...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
