[PATCH] nvme: Add error check for xa_store in nvme_get_effects_log

Keith Busch kbusch at kernel.org
Tue Jan 7 08:48:38 PST 2025


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.



More information about the Linux-nvme mailing list