From: Hannes Reinecke <hare@suse.de>
To: Daniel Wagner <wagi@kernel.org>,
James Smart <james.smart@broadcom.com>,
Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
Chaitanya Kulkarni <kch@nvidia.com>, Jens Axboe <axboe@kernel.dk>
Cc: James Smart <jsmart2021@gmail.com>,
linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/8] nvmet-fcloop: swap list_add_tail arguments
Date: Wed, 9 Apr 2025 08:09:03 +0200 [thread overview]
Message-ID: <63adb9ff-1591-4aff-923f-b523b4981e8a@suse.de> (raw)
In-Reply-To: <20250408-nvmet-fcloop-part-one-v1-1-382ec97ab7eb@kernel.org>
On 4/8/25 17:29, Daniel Wagner wrote:
> The newly element to be added to the list is the first argument of
> list_add_tail. This fix is missing dcfad4ab4d67 ("nvmet-fcloop: swap
> the list_add_tail arguments").
>
> Fixes: 437c0b824dbd ("nvme-fcloop: add target to host LS request support")
> Signed-off-by: Daniel Wagner <wagi@kernel.org>
> ---
> drivers/nvme/target/fcloop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c
> index e1abb27927ff74c9c55ddefd9581aab18bf3b00f..da195d61a9664cba21880a4b99ba0ee94a58f81a 100644
> --- a/drivers/nvme/target/fcloop.c
> +++ b/drivers/nvme/target/fcloop.c
> @@ -478,7 +478,7 @@ fcloop_t2h_xmt_ls_rsp(struct nvme_fc_local_port *localport,
> if (targetport) {
> tport = targetport->private;
> spin_lock(&tport->lock);
> - list_add_tail(&tport->ls_list, &tls_req->ls_list);
> + list_add_tail(&tls_req->ls_list, &tport->ls_list);
> spin_unlock(&tport->lock);
> queue_work(nvmet_wq, &tport->ls_work);
> }
>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
next prev parent reply other threads:[~2025-04-09 6:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 15:29 [PATCH 0/8] nvmet-fcloop: bunch of fixes and cleanups Daniel Wagner
2025-04-08 15:29 ` [PATCH 1/8] nvmet-fcloop: swap list_add_tail arguments Daniel Wagner
2025-04-09 6:09 ` Hannes Reinecke [this message]
2025-04-09 10:58 ` Christoph Hellwig
2025-04-08 15:29 ` [PATCH 2/8] nvmet-fcloop: replace kref with refcount Daniel Wagner
2025-04-08 15:29 ` [PATCH 3/8] nvmet-fcloop: add ref counting to lport Daniel Wagner
2025-04-08 15:29 ` [PATCH 4/8] nvmet-fc: inline nvmet_fc_delete_assoc Daniel Wagner
2025-04-08 15:29 ` [PATCH 5/8] nvmet-fc: inline nvmet_fc_free_hostport Daniel Wagner
2025-04-08 15:29 ` [PATCH 6/8] nvmet-fc: update tgtport ref per assoc Daniel Wagner
2025-04-08 15:29 ` [PATCH 7/8] nvmet-fc: take tgtport reference only once Daniel Wagner
2025-04-08 15:29 ` [PATCH 8/8] nvmet-fc: put ref when assoc->del_work is already scheduled Daniel Wagner
2025-04-09 11:05 ` [PATCH 0/8] nvmet-fcloop: bunch of fixes and cleanups Christoph Hellwig
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=63adb9ff-1591-4aff-923f-b523b4981e8a@suse.de \
--to=hare@suse.de \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=james.smart@broadcom.com \
--cc=jsmart2021@gmail.com \
--cc=kch@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
--cc=wagi@kernel.org \
/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®