WSL2-Linux-Kernel/drivers/nvme
Joel Granados 63d011ad05 nvme: return err on nvme_init_non_mdts_limits fail
[ Upstream commit bcaf434b8f ]

In nvme_init_non_mdts_limits function we were returning 0 when kzalloc
failed; it now returns -ENOMEM.

Fixes: 5befc7c26e ("nvme: implement non-mdts command limits")
Signed-off-by: Joel Granados <j.granados@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:14:10 +01:00
..
host nvme: return err on nvme_init_non_mdts_limits fail 2022-12-31 13:14:10 +01:00
target nvmet: only allocate a single slab for bvecs 2022-12-31 13:14:09 +01:00
Kconfig
Makefile