Messages in this thread | | | Date | Tue, 27 Feb 2024 10:05:05 +0100 | Subject | Re: [PATCH] USB:UAS:return ENODEV when submit urbs fail with device not attached. | From | Oliver Neukum <> |
| |
On 22.02.24 21:06, WeitaoWang-oc@zhaoxin.com wrote:
> Maybe, my description was not accurate enough, here not add new return > value to scsi layer,it just add a case to tell device is gone in the uas > driver internal and the ENODEV error code not return to scsi layer. > Here just notify SCSI layer of device loss through flag DID_NO_CONNECT. > This is also hope to fix this issue in the uas driver internal.
Hi,
sorry for the delay. OK, I see what you are aiming at. Could you redo the patch with a better description, like:
We need to translate -ENODEV to DID_NOT_CONNECT for the SCSI layer.
Regards Oliver
| |