From: Oliver Neukum <oneukum@suse.com>
To: "WeitaoWang-oc@zhaoxin.com" <WeitaoWang-oc@zhaoxin.com>,
Oliver Neukum <oneukum@suse.com>,
stern@rowland.harvard.edu, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-scsi@vger.kernel.org, usb-storage@lists.one-eyed-alien.net
Cc: WeitaoWang@zhaoxin.com
Subject: Re: [PATCH] USB:UAS:return ENODEV when submit urbs fail with device not attached.
Date: Tue, 27 Feb 2024 10:05:05 +0100 [thread overview]
Message-ID: <8f4fe820-2385-40e7-a3c6-51102e57acad@suse.com> (raw)
In-Reply-To: <41daf1a9-590a-e220-84a3-648eb895272b@zhaoxin.com>
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
next prev parent reply other threads:[~2024-02-27 9:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 16:54 [PATCH] USB:UAS:return ENODEV when submit urbs fail with device not attached Weitao Wang
2024-02-22 9:47 ` Oliver Neukum
2024-02-22 20:06 ` WeitaoWang-oc
2024-02-27 9:05 ` Oliver Neukum [this message]
2024-02-27 21:35 ` WeitaoWang-oc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f4fe820-2385-40e7-a3c6-51102e57acad@suse.com \
--to=oneukum@suse.com \
--cc=WeitaoWang-oc@zhaoxin.com \
--cc=WeitaoWang@zhaoxin.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.one-eyed-alien.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox