diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2026-05-11 21:09:33 -0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-05-18 04:58:42 -0400 |
| commit | 5189936049e91f4fd54b47f147232cde6f7ec7cc (patch) | |
| tree | c168a8df07a83b8cc967091411642d456c97dab7 /scripts | |
| parent | a5e9f0ae620f58b6f6fa4ee00accaac523cb1a72 (diff) | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
