From: Leon Romanovsky <leon@kernel.org>
To: Zhu Jun <zhujun2@cmss.chinamobile.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RDMA/mlx5: Return ENOMEM when allocating a MEMIC operation fails
Date: Mon, 16 Nov 2026 06:23:14 -0500 [thread overview]
Message-ID: <179482819488.1349482.5089909196004517387.b4-ty@kernel.org> (raw)
In-Reply-To: <20261112023108.118187-1-zhujun2@cmss.chinamobile.com>
On Thu, 12 Nov 2026 10:31:08 +0800, Zhu Jun wrote:
> When a MEMIC operation is not already mapped, map_existing_op() leaves
> err set to -ENOENT. If allocating the new operation entry then fails, the
> handler returns that stale lookup error instead of -ENOMEM.
>
> Set err to -ENOMEM before allocating the operation entry.
>
> OpenAI Codex assisted with analysis and patch preparation.
>
> [...]
Applied, thanks!
[1/1] RDMA/mlx5: Return ENOMEM when allocating a MEMIC operation fails
https://git.kernel.org/rdma/rdma/c/94d14d008d5570
Best regards,
--
Leon Romanovsky <leon@kernel.org>
prev parent reply other threads:[~2026-11-16 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 2:31 Zhu Jun
2026-11-16 11:23 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179482819488.1349482.5089909196004517387.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=zhujun2@cmss.chinamobile.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®