summaryrefslogtreecommitdiff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorRuoyu Wang <ruoyuw560@gmail.com>2026-06-18 12:17:52 +0800
committerJason Gunthorpe <jgg@nvidia.com>2026-07-02 14:16:44 -0300
commit155fd5ce2382b0ffbec0d7ee7b3a6818a27a5aed (patch)
treeeee35eed1077613cbdd385bfe4116778f874183e /Documentation/gpu
parent2815a277c53e9a84784d6410cd55a9da5b33068d (diff)
RDMA/mana_ib: initialize err for empty send WR lists
mana_ib_post_send() returns err after walking the send work request list. If the caller passes an empty list, the loop is skipped and err is not assigned. Initialize err to 0 so an empty send work request list returns success instead of stack data. Fixes: c8017f5b4856 ("RDMA/mana_ib: UD/GSI work requests") Link: https://patch.msgid.link/r/20260618041752.481193-2-ruoyuw560@gmail.com Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions