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

Keith Busch kbusch at kernel.org
Fri Jan 10 19:56:34 PST 2025


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.
> 
> Fixes: cc115cbe12d9 ("nvme: always initialize known command effects")
> Signed-off-by: Keisuke Nishimura <keisuke.nishimura at inria.fr>

Queued up in nvme-6.14, thanks.



More information about the Linux-nvme mailing list