<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/storage/usb.c, branch linux-3.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-02-08T20:03:11Z</updated>
<entry>
<title>Merge usb-linus branch into usb-next</title>
<updated>2013-02-08T20:03:11Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2013-02-08T20:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ceb675a9e25c0c11f76f8e72a862caf08d3934d3'/>
<id>urn:sha1:ceb675a9e25c0c11f76f8e72a862caf08d3934d3</id>
<content type='text'>
This pulls in a bunch of fixes that are in Linus's tree because we need them
here for testing and development.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: storage: Define a new macro for USB storage match rules</title>
<updated>2013-02-04T18:40:16Z</updated>
<author>
<name>fangxiaozhi</name>
</author>
<published>2013-02-04T07:14:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07c7be3d87e5cdaf5f94c271c516456364ef286c'/>
<id>urn:sha1:07c7be3d87e5cdaf5f94c271c516456364ef286c</id>
<content type='text'>
1. Define a new macro for USB storage match rules:
    matching with Vendor ID and interface descriptors.

Signed-off-by: fangxiaozhi &lt;huananhu@huawei.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: storage: avoid scanning other targets for single target device</title>
<updated>2013-01-21T00:12:53Z</updated>
<author>
<name>Ming Lei</name>
</author>
<published>2013-01-19T11:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4cc1834bdc47d0574ceffb728f256f67e1190ef'/>
<id>urn:sha1:f4cc1834bdc47d0574ceffb728f256f67e1190ef</id>
<content type='text'>
This patch sets scsi_host-&gt;max_id as 1 if the device's quirk
flag of US_FL_SCM_MULT_TARG isn't set, because there are only 6
mass storage devices marked as mutiple targets from unusual_devs.h.

This patch is a small optimization about scanning targets, and
avoid scanning other 7 non-existed targets for single target
device.

Signed-off-by: Ming Lei &lt;ming.lei@canonical.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Acked-by: Matthew Dharm &lt;mdharm-usb@one-eyed-alien.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: storage: remove redundant memset() in usb_probe_stor1()</title>
<updated>2012-11-26T22:57:20Z</updated>
<author>
<name>Yan Hong</name>
</author>
<published>2012-11-23T14:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ac90609b721824b9a9a5b5fd4e4b647a3d28d45'/>
<id>urn:sha1:1ac90609b721824b9a9a5b5fd4e4b647a3d28d45</id>
<content type='text'>
scsi_host_alloc() will zero our private data, no need to memset it.

Signed-off-by: Yan Hong &lt;clouds.yan@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: remove libusual</title>
<updated>2012-09-06T00:21:36Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2012-08-28T20:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f61870ee6f8cc77a844e22f26c58028078df7167'/>
<id>urn:sha1:f61870ee6f8cc77a844e22f26c58028078df7167</id>
<content type='text'>
The "Low Performance USB Block driver" has been removed which a user of
libusual. Now we have only the usb-storage driver as the only driver in
tree. This makes libusual needless.
This patch removes libusal, fixes up all users. The usual-table is now
linked into usb-storage.
usb_usual.h remains in public include directory because some staging
users seem to need it.

Signed-off-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] usb-storage: add support for write cache quirk</title>
<updated>2012-07-20T07:59:00Z</updated>
<author>
<name>Namjae Jeon</name>
</author>
<published>2012-07-08T03:05:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eaa05dfcdb12cf3a7bedf8918dc8699c00944384'/>
<id>urn:sha1:eaa05dfcdb12cf3a7bedf8918dc8699c00944384</id>
<content type='text'>
Add support for write cache quirk on usb hdd. scsi driver will be set to wce
by detecting write cache quirk in quirk list when plugging usb hdd.

Signed-off-by: Namjae Jeon &lt;namjae.jeon@samsung.com&gt;
Signed-off-by: Pankaj Kumar &lt;pankaj.km@samsung.com&gt;
Signed-off-by: Amit Sahrawat &lt;a.sahrawat@samsung.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>USB: storage: fixed keyword related space issues.</title>
<updated>2012-05-17T16:48:29Z</updated>
<author>
<name>Jeffrin Jose</name>
</author>
<published>2012-05-16T19:04:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db2c8624847b0b67c04c3d6271823f3fee671e26'/>
<id>urn:sha1:db2c8624847b0b67c04c3d6271823f3fee671e26</id>
<content type='text'>
Fixed keyword related space issues found by
checkpatch.pl tool in drivers/usb/storage/usb.c

Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: storage: fixed several trailing white spaces issues.</title>
<updated>2012-05-17T16:48:29Z</updated>
<author>
<name>Jeffrin Jose</name>
</author>
<published>2012-05-16T19:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1631062f2f2e1b57108e810983a077d6b847092'/>
<id>urn:sha1:a1631062f2f2e1b57108e810983a077d6b847092</id>
<content type='text'>
Fixed several trailing white spaces issues found
by checkpatch.pl tool in drivers/usb/storage/usb.c

Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: storage: fixed C99 comment issue.</title>
<updated>2012-05-17T16:48:29Z</updated>
<author>
<name>Jeffrin Jose</name>
</author>
<published>2012-05-16T19:03:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7edf6823a76a06082ac1e60471706a380495f6c'/>
<id>urn:sha1:a7edf6823a76a06082ac1e60471706a380495f6c</id>
<content type='text'>
Fixed C99 comment issue in drivers/usb/storage/usb.c
found using checkpatch.pl tool.

Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: storage: fix lockdep warning inside usb_stor_pre_reset(v2)</title>
<updated>2012-04-06T20:54:00Z</updated>
<author>
<name>Ming Lei</name>
</author>
<published>2012-03-19T07:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c825bab0cef8b90bab8b63eb5686b8c8eb22e798'/>
<id>urn:sha1:c825bab0cef8b90bab8b63eb5686b8c8eb22e798</id>
<content type='text'>
This patch fixes one lockdep warning[1] inside usb_stor_pre_reset.

If the current configuration includes multiple mass storage interfaces,
the 'AA' lockdep warning will be triggered since the lock class of
'us-&gt;dev_mutex' is acquired two times in .reset path. It isn't
a real deadlock, so just take the lockdep_set_class annotation to
remove the warning.

[1], lockdep warning log
:[ INFO: possible recursive locking detected ]
:3.3.0-0.rc5.git3.1.fc17.x86_64 #1 Tainted: G        W
:---------------------------------------------
:usb-storage/14846 is trying to acquire lock:
: (&amp;(us-&gt;dev_mutex)){+.+.+.}, at: [&lt;ffffffffa0481c0c&gt;] usb_stor_pre_reset+0x1c/0x20 [usb_storage]
:but task is already holding lock:
: (&amp;(us-&gt;dev_mutex)){+.+.+.}, at: [&lt;ffffffffa0481c0c&gt;] usb_stor_pre_reset+0x1c/0x20 [usb_storage]
:other info that might help us debug this:
: Possible unsafe locking scenario:
:       CPU0
:       ----
:  lock(&amp;(us-&gt;dev_mutex));
:  lock(&amp;(us-&gt;dev_mutex));
: *** DEADLOCK ***
: May be due to missing lock nesting notation
:2 locks held by usb-storage/14846:
: #0:  (&amp;__lockdep_no_validate__){......}, at: [&lt;ffffffff8147e6a5&gt;] usb_lock_device_for_reset+0x95/0x100
: #1:  (&amp;(us-&gt;dev_mutex)){+.+.+.}, at: [&lt;ffffffffa0481c0c&gt;] usb_stor_pre_reset+0x1c/0x20 [usb_storage]
:stack backtrace:
:Pid: 14846, comm: usb-storage Tainted: G        W 3.3.0-0.rc5.git3.1.fc17.x86_64 #1
:Call Trace:
: [&lt;ffffffff810cbdaf&gt;] __lock_acquire+0x168f/0x1bb0
: [&lt;ffffffff81021083&gt;] ? native_sched_clock+0x13/0x80
: [&lt;ffffffff810210f9&gt;] ? sched_clock+0x9/0x10
: [&lt;ffffffff810210f9&gt;] ? sched_clock+0x9/0x10
: [&lt;ffffffff810a2975&gt;] ? sched_clock_local+0x25/0xa0
: [&lt;ffffffff810cc9a1&gt;] lock_acquire+0xa1/0x1e0
: [&lt;ffffffffa0481c0c&gt;] ? usb_stor_pre_reset+0x1c/0x20 [usb_storage]
: [&lt;ffffffff81699c86&gt;] mutex_lock_nested+0x76/0x3a0
: [&lt;ffffffffa0481c0c&gt;] ? usb_stor_pre_reset+0x1c/0x20 [usb_storage]
: [&lt;ffffffffa0481c0c&gt;] ? usb_stor_pre_reset+0x1c/0x20 [usb_storage]
: [&lt;ffffffffa0481c0c&gt;] usb_stor_pre_reset+0x1c/0x20 [usb_storage]
: [&lt;ffffffff8148184d&gt;] usb_reset_device+0x7d/0x190
: [&lt;ffffffffa048119c&gt;] usb_stor_port_reset+0x7c/0x80 [usb_storage]
: [&lt;ffffffffa0481234&gt;] usb_stor_invoke_transport+0x94/0x560 [usb_storage]
: [&lt;ffffffff810cd3b2&gt;] ? mark_held_locks+0xb2/0x130
: [&lt;ffffffff8169dbd0&gt;] ? _raw_spin_unlock_irq+0x30/0x50
: [&lt;ffffffffa047fe3e&gt;] usb_stor_transparent_scsi_command+0xe/0x10 [usb_storage]
: [&lt;ffffffffa0481ae3&gt;] usb_stor_control_thread+0x173/0x280 [usb_storage]
: [&lt;ffffffffa0481970&gt;] ? fill_inquiry_response+0x20/0x20 [usb_storage]
: [&lt;ffffffff8108a3f7&gt;] kthread+0xb7/0xc0
: [&lt;ffffffff816a7d34&gt;] kernel_thread_helper+0x4/0x10
: [&lt;ffffffff8169e0f4&gt;] ? retint_restore_args+0x13/0x13
: [&lt;ffffffff8108a340&gt;] ? kthread_worker_fn+0x1a0/0x1a0
: [&lt;ffffffff816a7d30&gt;] ? gs_change+0x13/0x13

Reported-By: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Ming Lei &lt;tom.leiming@gmail.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>
</feed>
