diff mbox series

[rdma-next] RDMA/irdma: Add missing kernel-doc in irdma_setup_umode_qp()

Message ID 2c9bcd2b773c400a1699bd7973e22bfba1e4b379.1692260011.git.leonro@nvidia.com (mailing list archive)
State Accepted
Commit 5f513c8b9740ea05a136219739a5358780c3cb5f
Headers show
Series [rdma-next] RDMA/irdma: Add missing kernel-doc in irdma_setup_umode_qp() | expand

Commit Message

Leon Romanovsky Aug. 17, 2023, 8:13 a.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Fix the following warning reported by kbuild:

drivers/infiniband/hw/irdma/verbs.c:584: warning: Function parameter
            or member 'udata' not described in 'irdma_setup_umode_qp'

Fixes: 3a8498720450 ("RDMA/irdma: Allow accurate reporting on QP max send/recv WR")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308171620.m4MNACWz-lkp@intel.com/
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
 drivers/infiniband/hw/irdma/verbs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Shiraz Saleem Aug. 18, 2023, 3:21 p.m. UTC | #1
> Subject: [PATCH rdma-next] RDMA/irdma: Add missing kernel-doc in
> irdma_setup_umode_qp()
> 
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Fix the following warning reported by kbuild:
> 
> drivers/infiniband/hw/irdma/verbs.c:584: warning: Function parameter
>             or member 'udata' not described in 'irdma_setup_umode_qp'
> 
> Fixes: 3a8498720450 ("RDMA/irdma: Allow accurate reporting on QP max
> send/recv WR")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308171620.m4MNACWz-
> lkp@intel.com/
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
>  drivers/infiniband/hw/irdma/verbs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
> index 660be7f13060..6cffe21558fe 100644
> --- a/drivers/infiniband/hw/irdma/verbs.c
> +++ b/drivers/infiniband/hw/irdma/verbs.c
> @@ -573,6 +573,7 @@ static void irdma_setup_virt_qp(struct irdma_device
> *iwdev,
> 
>  /**
>   * irdma_setup_umode_qp - setup sq and rq size in user mode qp
> + * @udata: udata
>   * @iwdev: iwarp device
>   * @iwqp: qp ptr (user or kernel)
>   * @info: initialize info to return
> --
> 2.41.0

Thanks Leon!

Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
index 660be7f13060..6cffe21558fe 100644
--- a/drivers/infiniband/hw/irdma/verbs.c
+++ b/drivers/infiniband/hw/irdma/verbs.c
@@ -573,6 +573,7 @@  static void irdma_setup_virt_qp(struct irdma_device *iwdev,
 
 /**
  * irdma_setup_umode_qp - setup sq and rq size in user mode qp
+ * @udata: udata
  * @iwdev: iwarp device
  * @iwqp: qp ptr (user or kernel)
  * @info: initialize info to return