Skip to content

Commit cca7f12

Browse files
rleonjgunthorpe
authored andcommitted
RDMA/uverbs: Fix kernel-doc warning of _uverbs_alloc
Fix the following W=1 compilation warning: drivers/infiniband/core/uverbs_ioctl.c:108: warning: expecting prototype for uverbs_alloc(). Prototype was for _uverbs_alloc() instead Fixes: 461bb2e ("IB/uverbs: Add a simple allocator to uverbs_attr_bundle") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent f918039 commit cca7f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/core/uverbs_ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void uapi_compute_bundle_size(struct uverbs_api_ioctl_method *method_elm,
9191
}
9292

9393
/**
94-
* uverbs_alloc() - Quickly allocate memory for use with a bundle
94+
* _uverbs_alloc() - Quickly allocate memory for use with a bundle
9595
* @bundle: The bundle
9696
* @size: Number of bytes to allocate
9797
* @flags: Allocator flags

0 commit comments

Comments
 (0)