<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/core/buffer.c, branch v3.4.80</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/usb/core/buffer.c?h=v3.4.80</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/usb/core/buffer.c?h=v3.4.80'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-01-23T03:35:39Z</updated>
<entry>
<title>USB: Core: Fix minor coding style issues</title>
<updated>2011-01-23T03:35:39Z</updated>
<author>
<name>Tobias Ollmann</name>
<email>tobias.ollmann@gmx.at</email>
</author>
<published>2010-12-25T10:17:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0828376deadb93f2e839900065f536ddc1190e73'/>
<id>urn:sha1:0828376deadb93f2e839900065f536ddc1190e73</id>
<content type='text'>
Fixing all coding style issues in buffer.c

Signed-off-by: Tobias Ollmann &lt;tobias.ollmann@gmx.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>USB: make hcd.h public (drivers dependency)</title>
<updated>2010-05-20T20:21:30Z</updated>
<author>
<name>Eric Lescouet</name>
<email>Eric.Lescouet@virtuallogix.com</email>
</author>
<published>2010-04-24T21:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=27729aadd31dafddaaf64c24f8ef6d0ff750f3aa'/>
<id>urn:sha1:27729aadd31dafddaaf64c24f8ef6d0ff750f3aa</id>
<content type='text'>
The usbcore headers: hcd.h and hub.h are shared between usbcore,
HCDs and a couple of other drivers (e.g. USBIP modules).
So, it makes sense to move them into a more public location and
to cleanup dependency of those modules on kernel internal headers.
This patch moves hcd.h from drivers/usb/core into include/linux/usb/

Signed-of-by: Eric Lescouet &lt;eric@lescouet.org&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: pass mem_flags to dma_alloc_coherent</title>
<updated>2009-04-23T21:15:28Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2009-04-18T09:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a8aa401f38cfb5fa26e970b48e93fb851d68fe64'/>
<id>urn:sha1:a8aa401f38cfb5fa26e970b48e93fb851d68fe64</id>
<content type='text'>
When I want to use my webcam, I get:

                                 vvvvvvv
cheese: page allocation failure. order:5, mode:0x8004
Pid: 8100, comm: cheese Not tainted 2.6.30-rc2-wl-dirty #102
Call Trace:
 [&lt;ffffffff802c5d8e&gt;] __alloc_pages_internal+0x3fe/0x520
 [&lt;ffffffff80210a20&gt;] dma_generic_alloc_coherent+0x90/0x120
 [&lt;ffffffffa001c91e&gt;] hcd_buffer_alloc+0xee/0x130 [usbcore]
 [&lt;ffffffffa000d52d&gt;] usb_buffer_alloc+0x2d/0x40 [usbcore]
 [&lt;ffffffffa0160e14&gt;] uvc_alloc_urb_buffers+0x84/0x140 [uvcvideo]
 [&lt;ffffffffa0160ff6&gt;] uvc_init_video+0x126/0x400 [uvcvideo]
 [...]

Oddly, I remembered fixing this and putting in __GFP_NOWARN
because uvcvideo retries a smaller allocation. However, the
allocation function doesn't pass the gfp flags through to
dma_alloc_coherent so we still get the warning!

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: fix codingstyle issues in drivers/usb/core/*.c</title>
<updated>2008-02-01T22:35:08Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-01-30T23:21:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2c044a4803804708984931bcbd03314732e995d5'/>
<id>urn:sha1:2c044a4803804708984931bcbd03314732e995d5</id>
<content type='text'>
Fixes a number of coding style issues in the remaining .c files in
drivers/usb/core/

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: dma bounce buffer support</title>
<updated>2008-02-01T22:35:05Z</updated>
<author>
<name>Magnus Damm</name>
<email>magnus.damm@gmail.com</email>
</author>
<published>2008-01-23T06:58:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b3476675320eda83cf061a686cdc80b76f2bfdc4'/>
<id>urn:sha1:b3476675320eda83cf061a686cdc80b76f2bfdc4</id>
<content type='text'>
usb: dma bounce buffer support V4

This patch adds dma bounce buffer support to the usb core. These buffers
can be enabled with the HCD_LOCAL_MEM flag, and they make sure that all data
passed to the host controller is allocated using dma_alloc_coherent().

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Acked-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>cleanup asm/scatterlist.h includes</title>
<updated>2007-11-02T07:47:06Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-10-30T09:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=87ae9afdcada236d0a1b38ce2c465a65916961dc'/>
<id>urn:sha1:87ae9afdcada236d0a1b38ce2c465a65916961dc</id>
<content type='text'>
Not architecture specific code should not #include &lt;asm/scatterlist.h&gt;.

This patch therefore either replaces them with
#include &lt;linux/scatterlist.h&gt; or simply removes them if they were
unused.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>USB: a bit more coding style cleanup</title>
<updated>2007-02-07T23:44:40Z</updated>
<author>
<name>Oliver Neukum</name>
<email>oneukum@suse.de</email>
</author>
<published>2007-01-25T10:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a68f71d4fe71426a5c9703591e068241c03f896'/>
<id>urn:sha1:1a68f71d4fe71426a5c9703591e068241c03f896</id>
<content type='text'>
I was sitting in a train threatened to be blocked by ice. I took this
as a hint to do some more boring work for the common good. Here's
a bit more for coding style.

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

</content>
</entry>
<entry>
<title>[PATCH] slab: remove SLAB_DMA</title>
<updated>2006-12-07T16:39:24Z</updated>
<author>
<name>Christoph Lameter</name>
<email>clameter@sgi.com</email>
</author>
<published>2006-12-07T04:33:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=441e143e95f5aa1e04026cb0aa71c801ba53982f'/>
<id>urn:sha1:441e143e95f5aa1e04026cb0aa71c801ba53982f</id>
<content type='text'>
SLAB_DMA is an alias of GFP_DMA. This is the last one so we
remove the leftover comment too.

Signed-off-by: Christoph Lameter &lt;clameter@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>usbcore: trim down usb_bus structure</title>
<updated>2006-09-27T18:58:56Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2006-08-30T15:32:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1720058343fa43a1a25bfad9e62ea06e7e9743b6'/>
<id>urn:sha1:1720058343fa43a1a25bfad9e62ea06e7e9743b6</id>
<content type='text'>
As part of the ongoing program to flatten out the HCD bus-glue layer,
this patch (as771b) eliminates the hcpriv, release, and kref fields
from struct usb_bus.  hcpriv and release were not being used for
anything worthwhile, and kref has been moved into the enclosing
usb_hcd structure.

Along with those changes, the patch gets rid of usb_bus_get and
usb_bus_put, replacing them with usb_get_hcd and usb_put_hcd.

The one interesting aspect is that the dev_set_drvdata call was
removed from usb_put_hcd, where it clearly doesn't belong.  This means
the driver private data won't get reset to NULL.  It shouldn't cause
any problems, since the private data is undefined when no driver is
bound.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&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>
<email>joern@wohnheim.fh-wedel.de</email>
</author>
<published>2006-06-30T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/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>
</feed>
