aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/srpt
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-11-05 11:38:29 -0400
committerJason Gunthorpe <jgg@nvidia.com>2020-11-05 11:38:29 -0400
commit21fcdeec09ff461b2f9a9ef4fcc3a136249e58a1 (patch)
tree206aeb66525db146f7fd942916cea4248d246de0 /drivers/infiniband/ulp/srpt
parentRDMA/vmw_pvrdma: Fix the active_speed and phys_state value (diff)
downloadlinux-dev-21fcdeec09ff461b2f9a9ef4fcc3a136249e58a1.tar.xz
linux-dev-21fcdeec09ff461b2f9a9ef4fcc3a136249e58a1.zip
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: 372a1786283e ("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>
Diffstat (limited to 'drivers/infiniband/ulp/srpt')
-rw-r--r--drivers/infiniband/ulp/srpt/ib_srpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c
index 1b096305de1a..53a8becac827 100644
--- a/drivers/infiniband/ulp/srpt/ib_srpt.c
+++ b/drivers/infiniband/ulp/srpt/ib_srpt.c
@@ -622,7 +622,7 @@ static int srpt_refresh_port(struct srpt_port *sport)
/**
* srpt_unregister_mad_agent - unregister MAD callback functions
* @sdev: SRPT HCA pointer.
- * #port_cnt: number of ports with registered MAD
+ * @port_cnt: number of ports with registered MAD
*
* Note: It is safe to call this function more than once for the same device.
*/