Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
RDMA: Convert drivers using sizeof() to ib_respond_udata()
Convert the pattern: ib_copy_to_udata(udata, &resp, sizeof(resp)); Using Coccinelle: @@ identifier resp; expression udata; @@ - ib_copy_to_udata(udata, &resp, sizeof(resp)) + ib_respond_udata(udata, resp) Run another pass with AI to propagate the return code correctly and remove redundant prints. Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Author Jason Gunthorpe Committer Leon Romanovsky Date (May 18, 2026, 8:58 AM UTC) Commit
Copy SHA
Parent a5e9f0ae a5e9f0ae620f58b6f6fa4ee00accaac523cb1a72