Skip to content

Commit

Permalink
RDMA/core: Fix kernel doc warnings for ib_port_immutable_read()
Browse files Browse the repository at this point in the history
drivers/infiniband/core/device.c:859: warning: Function parameter or member 'dev' not described in 'ib_port_immutable_read'
drivers/infiniband/core/device.c:859: warning: Function parameter or member 'port' not described in 'ib_port_immutable_read'

Fixes: 7416790 ("RDMA/core: Introduce and use API to read port immutable data")
Link: https://lore.kernel.org/r/20210210151421.1108809-1-leon@kernel.org
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
  • Loading branch information
rleon authored and jgunthorpe committed Feb 16, 2021
1 parent 1a93e84 commit 168e4cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/infiniband/core/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,9 +850,9 @@ static int setup_port_data(struct ib_device *device)

/**
* ib_port_immutable_read() - Read rdma port's immutable data
* @dev - IB device
* @port - port number whose immutable data to read. It starts with index 1 and
* valid upto including rdma_end_port().
* @dev: IB device
* @port: port number whose immutable data to read. It starts with index 1 and
* valid upto including rdma_end_port().
*/
const struct ib_port_immutable*
ib_port_immutable_read(struct ib_device *dev, unsigned int port)
Expand Down

0 comments on commit 168e4cd

Please sign in to comment.