From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Wei Li <liwei391@huawei.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Ondrej Zary <linux@zary.sk>, <linux-scsi@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <huawei.libin@huawei.com>
Subject: Re: [PATCH v2] scsi: fdomain: Fix error return code in fdomain_probe()
Date: Mon, 09 Aug 2021 23:32:08 -0400 [thread overview]
Message-ID: <yq18s1avuts.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20210715032625.1395495-1-liwei391@huawei.com> (Wei Li's message of "Thu, 15 Jul 2021 11:26:25 +0800")
Wei,
> When it fail to request_region, it just jump to 'fail_disable', while
> the 'ret' is not updated. So assign the return code before that.
Applied to 5.15/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2021-08-10 3:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 3:26 [PATCH v2] scsi: fdomain: Fix error return code in fdomain_probe() Wei Li
2021-08-10 3:32 ` Martin K. Petersen [this message]
2021-08-17 3:17 ` Martin K. Petersen
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=yq18s1avuts.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=huawei.libin@huawei.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@zary.sk \
--cc=liwei391@huawei.com \
/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;
as well as URLs for NNTP newsgroup(s).