Re: [PATCH v99 1/1] One more fix

From: Abhijit Gangurde

Date: Tue Jul 07 2026 - 06:18:49 EST



On 7/7/26 15:36, Greg KH wrote:
On Tue, Jul 07, 2026 at 03:25:52PM +0530, Abhijit Gangurde wrote:
---
drivers/infiniband/hw/ionic/ionic_controlpath.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/ionic/ionic_controlpath.c b/drivers/infiniband/hw/ionic/ionic_controlpath.c
index 1ed45e1dd98d..a635bb472826 100644
--- a/drivers/infiniband/hw/ionic/ionic_controlpath.c
+++ b/drivers/infiniband/hw/ionic/ionic_controlpath.c
@@ -2845,8 +2845,10 @@ int ionic_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *attr,
if (srq->rq.cmb & IONIC_CMB_ENABLE) {
ionic_rq_mmap_cmb(dev, ctx, &srq->rq, &resp.rq_cmb_offset);
- if (!srq->rq.mmap_cmb)
+ if (!srq->rq.mmap_cmb) {
+ rc = -ENOMEM;
goto err_mmap_rq;
+ }
resp.rq_cmb = srq->rq.cmb;
}
--
2.43.0

Something went really wrong with this series :(

All,

My sincere apologies for the noise. I accidentally sent a batch of
unrelated local patches to this thread. That was entirely unintentional.
Please disregard all patches in this series.

I will resend just the correct patch as a clean v3 to avoid any
confusion.

Again, sorry for the spam.

Abhijit