<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/host/whci, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-12-01T22:45:52Z</updated>
<entry>
<title>USB: whci-hcd: add check for dma mapping error</title>
<updated>2015-12-01T22:45:52Z</updated>
<author>
<name>Alexey Khoroshilov</name>
</author>
<published>2015-11-20T21:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9fa1887dcf26bd346665a6ae3d3f53dec54cba1'/>
<id>urn:sha1:f9fa1887dcf26bd346665a6ae3d3f53dec54cba1</id>
<content type='text'>
qset_fill_page_list() do not check for dma mapping errors.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>whci: drop null test before destroy functions</title>
<updated>2015-10-04T09:38:33Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2015-09-13T12:15:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03bce87ce99ae6611ad8c03d509b2da59d86183d'/>
<id>urn:sha1:03bce87ce99ae6611ad8c03d509b2da59d86183d</id>
<content type='text'>
Remove unneeded NULL test.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@ expression x; @@
-if (x != NULL)
  \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: whci-hcd: Delete an unnecessary check before the function call "usb_put_hcd"</title>
<updated>2015-03-18T15:56:40Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2015-02-05T15:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28ed20755897b3726f07a0418c3d2fe17b3e5c86'/>
<id>urn:sha1:28ed20755897b3726f07a0418c3d2fe17b3e5c86</id>
<content type='text'>
The usb_put_hcd() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: use %*pb[l] to print bitmaps including cpumasks and nodemasks</title>
<updated>2015-02-14T05:21:38Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2015-02-13T22:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=125918dbd836d19b5dccc2690388b29e575f91a4'/>
<id>urn:sha1:125918dbd836d19b5dccc2690388b29e575f91a4</id>
<content type='text'>
printk and friends can now format bitmaps using '%*pb[l]'.  cpumask
and nodemask also provide cpumask_pr_args() and nodemask_pr_args()
respectively which can be used to generate the two printf arguments
necessary to format the specified cpu/nodemask.

* drivers/uwb/drp.c::uwb_drp_handle_alien_drp() was formatting mas.bm
  into a buffer but never used it.  Removed.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&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: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-01-08T23:01:39Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2014-01-08T16:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=803a536243b3a1ed2289f41897b11b72bd083309'/>
<id>urn:sha1:803a536243b3a1ed2289f41897b11b72bd083309</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: hcd: move controller wakeup setting initialization to individual driver</title>
<updated>2013-12-09T02:06:46Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2013-11-05T02:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c9740a117d40a74412775b5d3fe2b88a7635a0e'/>
<id>urn:sha1:3c9740a117d40a74412775b5d3fe2b88a7635a0e</id>
<content type='text'>
Individual controller driver has different requirement for wakeup
setting, so move it from core to itself. In order to align with
current etting the default wakeup setting is enabled (except for
chipidea host).

Pass compile test with below commands:
	make O=outout/all allmodconfig
	make -j$CPU_NUM O=outout/all drivers/usb

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: Remove unnecessary semicolons</title>
<updated>2013-10-11T23:26:46Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2013-10-08T23:01:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b84f92b8141679be6b90396655fa4887589ec28'/>
<id>urn:sha1:2b84f92b8141679be6b90396655fa4887589ec28</id>
<content type='text'>
These aren't necessary after switch and if blocks.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wusbhc: disable suspend and resume on the root hub.</title>
<updated>2013-06-06T19:14:38Z</updated>
<author>
<name>Thomas Pugliese</name>
</author>
<published>2013-06-06T18:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edc40a4bbe4d8bb0f6ee69d562a38e8783d7a4f9'/>
<id>urn:sha1:edc40a4bbe4d8bb0f6ee69d562a38e8783d7a4f9</id>
<content type='text'>
Suspend and resume are not currently supported on the wireless root hub.
Remove the suspend and resume op functions in the host controller driver
to avoid constant error messages in the system log.

Signed-off-by: Thomas Pugliese &lt;thomas.pugliese@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: whci-hcd: fix NULL dereference on allocation failure</title>
<updated>2012-08-15T22:17:39Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2012-07-20T06:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3821bf4abb7f78c90af7fa2975df6618906b11ec'/>
<id>urn:sha1:3821bf4abb7f78c90af7fa2975df6618906b11ec</id>
<content type='text'>
If usb_create_hcd() fails here then we dereference "whc" inside the call
to whc_clean_up() before it has been set.  The compiler would have
warned about this if we hadn't initialized all the pointers to NULL at
the start of the function.  I've cleaned that up as well.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: whci-hcd: Fix potential memory leak in qset_add_urb_sg()</title>
<updated>2012-08-10T19:06:39Z</updated>
<author>
<name>Alexey Khoroshilov</name>
</author>
<published>2012-08-08T08:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05f2b3912323b4130dbf6d5091601d9ca3aaf119'/>
<id>urn:sha1:05f2b3912323b4130dbf6d5091601d9ca3aaf119</id>
<content type='text'>
Do not leak memory by updating pointer with potentially
NULL realloc return value.

By the way remove unused local variable:
	struct whc_page_list_entry *entry;
More precisely, it was used to increment uninitialized value within one of cycles.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
