From: James Smart <james.smart@broadcom.com>
To: Jing Xiangfeng <jingxiangfeng@huawei.com>,
dick.kennedy@broadcom.com, jejb@linux.ibm.com,
martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init()
Date: Tue, 4 Aug 2020 09:21:23 -0700 [thread overview]
Message-ID: <ace2c669-5fc6-e6c5-9d39-382ba02b1adf@broadcom.com> (raw)
In-Reply-To: <20200731065639.190646-1-jingxiangfeng@huawei.com>
On 7/30/2020 11:56 PM, Jing Xiangfeng wrote:
> lpfc_init() misses to call misc_deregister() in an error path. Add a
> label 'unregister' to fix it.
>
> Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
> ---
> drivers/scsi/lpfc/lpfc_init.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
>
Looks fine.
Reviewed-by: James Smart <james.smart@broadcom.com>
Thanks
-- james
next prev parent reply other threads:[~2020-08-04 16:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-31 6:56 [PATCH] scsi: lpfc: Add the missed misc_deregister() for lpfc_init() Jing Xiangfeng
2020-08-04 16:21 ` James Smart [this message]
2020-08-05 1: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=ace2c669-5fc6-e6c5-9d39-382ba02b1adf@broadcom.com \
--to=james.smart@broadcom.com \
--cc=dick.kennedy@broadcom.com \
--cc=jejb@linux.ibm.com \
--cc=jingxiangfeng@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.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).