[PATCH 0/1] nvme: return err on nvme_init_non_mdts_limits fail
Joel Granados
j.granados at samsung.com
Wed Nov 2 10:17:07 PDT 2022
This patch was part of an RFC that I previously posted
https://lore.kernel.org/all/20221027155724.1161670-1-j.granados@samsung.com/
but it generated some discussion so I decided to send it out by itself.
In nvme_init_non_mdts_limits function we are returning 0 on kzalloc
failure; it should be returns -ENOMEM. Introduced in: 5befc7c26e5a ("nvme:
implement non-mdts command limits")
Joel Granados (1):
nvme: return err on nvme_init_non_mdts_limits fail
drivers/nvme/host/core.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--
2.30.2
More information about the Linux-nvme
mailing list