From: Keith Busch <kbusch@kernel.org>
To: Keisuke Nishimura <keisuke.nishimura@inria.fr>
Cc: Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
Sagi Grimberg <sagi@grimberg.me>,
linux-nvme@lists.infradead.org
Subject: Re: [PATCH] nvme: Add error check for xa_store in nvme_get_effects_log
Date: Tue, 7 Jan 2025 09:48:38 -0700 [thread overview]
Message-ID: <Z31a5uPbc-AErsiZ@kbusch-mbp> (raw)
In-Reply-To: <20241220120046.13559-1-keisuke.nishimura@inria.fr>
On Fri, Dec 20, 2024 at 01:00:47PM +0100, Keisuke Nishimura wrote:
> The xa_store() may fail due to memory allocation failure because there
> is no guarantee that the index csi is already used. This fix adds an
> error check of the return value of xa_store() in nvme_get_effects_log().
Thanks, applied to nvme-6.14.
prev parent reply other threads:[~2025-01-07 17:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 12:42 [PATCH] nvme: Allocate memory for xa_store in advance in nvme_get_effects_log Keisuke Nishimura
2024-12-12 6:27 ` Christoph Hellwig
2024-12-16 13:06 ` Keisuke Nishimura
2024-12-16 15:52 ` Christoph Hellwig
2024-12-20 11:50 ` Keisuke Nishimura
2024-12-20 12:00 ` [PATCH] nvme: Add error check for xa_store " Keisuke Nishimura
2024-12-24 10:11 ` Sagi Grimberg
2025-01-03 6:52 ` Christoph Hellwig
2025-01-07 16:48 ` Keith Busch [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=Z31a5uPbc-AErsiZ@kbusch-mbp \
--to=kbusch@kernel.org \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=keisuke.nishimura@inria.fr \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/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