Skip to content
Commit bcaf434b authored by Joel Granados's avatar Joel Granados Committed by Christoph Hellwig
Browse files

nvme: return err on nvme_init_non_mdts_limits fail



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

Fixes: 5befc7c2 ("nvme: implement non-mdts command limits")
Signed-off-by: default avatarJoel Granados <j.granados@samsung.com>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 811f4de0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment