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

Keith Busch
2025-01-07T17:13:38Z

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.