[PATCH v2] nvme: Add error path for xa_store in nvme_init_effects

Christoph Hellwig hch at lst.de
Mon Dec 16 07:49:16 PST 2024


On Mon, Dec 16, 2024 at 04:27:20PM +0100, Keisuke Nishimura wrote:
> The xa_store() may fail due to memory allocation failure because there
> is no guarantee that the index NVME_CSI_NVM is already used. This fix
> introduces a new function to handle the error path.

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the Linux-nvme mailing list