Skip to content

Commit 168e4cd

Browse files
rleonjgunthorpe
authored andcommitted
RDMA/core: Fix kernel doc warnings for ib_port_immutable_read()
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/[email protected] Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 1a93e84 commit 168e4cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/infiniband/core/device.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -850,9 +850,9 @@ static int setup_port_data(struct ib_device *device)
850850

851851
/**
852852
* ib_port_immutable_read() - Read rdma port's immutable data
853-
* @dev - IB device
854-
* @port - port number whose immutable data to read. It starts with index 1 and
855-
* valid upto including rdma_end_port().
853+
* @dev: IB device
854+
* @port: port number whose immutable data to read. It starts with index 1 and
855+
* valid upto including rdma_end_port().
856856
*/
857857
const struct ib_port_immutable*
858858
ib_port_immutable_read(struct ib_device *dev, unsigned int port)

0 commit comments

Comments
 (0)