提交 168e4cd9 编写于 作者: L Leon Romanovsky 提交者: Jason Gunthorpe

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: 7416790e ("RDMA/core: Introduce and use API to read port immutable data")
Link: https://lore.kernel.org/r/20210210151421.1108809-1-leon@kernel.orgReported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
上级 1a93e848
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册