From: "WeitaoWang-oc@zhaoxin.com" <WeitaoWang-oc@zhaoxin.com>
To: 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: Wed, 28 Feb 2024 05:35:50 +0800 [thread overview]
Message-ID: <594c4e2f-74c4-42dd-9b7c-c3468a55c7ee@zhaoxin.com> (raw)
In-Reply-To: <8f4fe820-2385-40e7-a3c6-51102e57acad@suse.com>
On 2024/2/27 17:05, Oliver Neukum wrote:
>
> 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.
>
Okay, Thanks for your suggestion. And I'll improve this patch
description in the next version.
Thanks & Best regards,
Weitao
prev parent reply other threads:[~2024-02-27 13:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 16:54 Weitao Wang
2024-02-22 9:47 ` Oliver Neukum
2024-02-22 20:06 ` WeitaoWang-oc
2024-02-27 9:05 ` Oliver Neukum
2024-02-27 21:35 ` WeitaoWang-oc [this message]
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=594c4e2f-74c4-42dd-9b7c-c3468a55c7ee@zhaoxin.com \
--to=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=oneukum@suse.com \
--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
all inboxes | Powered by JetHome®