]> git.baikalelectronics.ru Git - kernel.git/commit
uas: Add uas_get_tag() helper function
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Sep 2014 10:26:31 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:42:10 +0000 (21:42 -0700)
commit06751e9e487dc53a9595705294e7198d493602fc
tree5e2cf98a193f99d3de3c7a5ddc52ea0e4c292963
parent83acb86aa37d5171b51b82f354910cce0773ed43
uas: Add uas_get_tag() helper function

Factor out the mapping of scsi-tags -> uas-tags/stream-ids to a helper function
so that there is a single place where this "magic" happens.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c