diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-24 18:15:51 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-11-26 09:21:17 +0100 |
commit | 5eb6d9e3ef1fac096ab5b3f5c14e1f4079dd7367 (patch) | |
tree | 44c83b26a54ca287aca977b51c163df5dea04f65 /hw/openrisc | |
parent | d4bfc7b9f35da7dcc28ae87de503b28bd7ff56ee (diff) |
uas: Fix / cleanup usb_uas_task error handling
-The correct error if we cannot find the dev is INCORRECT_LUN rather then
INVALID_INFO_UNIT
-Move the device not found check to the top so we only need to do it once
-Remove the dev->lun != lun checks, dev is returned by scsi_device_find
which searches by lun, so this will never trigger
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/openrisc')
0 files changed, 0 insertions, 0 deletions