On 22.02.24 21:06, WeitaoWang-oc@xxxxxxxxxxx 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