Skip to content

Commit 21fcdee

Browse files
committed
RDMA/srpt: Fix typo in srpt_unregister_mad_agent docstring
htmldocs fails with: drivers/infiniband/ulp/srpt/ib_srpt.c:630: warning: Function parameter or member 'port_cnt' not described in 'srpt_unregister_mad_agent' Fixes: 372a178 ("IB/srpt: Fix memory leak in srpt_add_one") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent 00469c9 commit 21fcdee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/infiniband/ulp/srpt/ib_srpt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static int srpt_refresh_port(struct srpt_port *sport)
622622
/**
623623
* srpt_unregister_mad_agent - unregister MAD callback functions
624624
* @sdev: SRPT HCA pointer.
625-
* #port_cnt: number of ports with registered MAD
625+
* @port_cnt: number of ports with registered MAD
626626
*
627627
* Note: It is safe to call this function more than once for the same device.
628628
*/

0 commit comments

Comments
 (0)