e749c115c6
nvme_rdma_register_rsps returned ENOMEM for all failure cases. All of them are not directly related to shortage of memory. Every point of failure now sets relevant return code. Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com> Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com> Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Ia340f6c6fd3a68d8c34acfefc2c9224ffcdcad3f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477302 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Seth Howell <seth.howell@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>