Skip to contentSkip to conversation

RDMA/mlx5: Remove kernel-doc warning in umr.c

PATCH Applied Leon Romanovsky 2 participants 2 messages Jun 29 – Jul 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/mlx5: Remove kernel-doc warning in umr.c

From: Leon Romanovsky <[email protected]>

Remove extra asterisk to avoid the following kernel-doc warning:

Warning: drivers/infiniband/hw/mlx5/umr.c:986 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst

Fixes e73242aa14d2 ("RDMA/mlx5: Optimize DMABUF mkey page size")
---
 drivers/infiniband/hw/mlx5/umr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/mlx5/umr.c +1 -1
index 48cae5cc1c1b..c595b85b428c 100644
@@ -978,7 +978,7 @@ static inline int _mlx5r_dmabuf_umr_update_pas(struct mlx5_ib_mr *mr,
 						     start_block, nblocks);
 }
 
-/**
+/*
  * This function makes an mkey non-present by zapping the translation entries of
  * the mkey by zapping (zeroing out) the first N entries, where N is determined
  * by the largest page size supported by the device and the MR length.

---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260625-kdoc-fix-ca7adb29732d

Best regards,

Signature · 1 line
Leon Romanovsky <[email protected]>
maintainer Applied
#1 lore raw
Quoted 4 lines · Leon Romanovsky

From: Leon Romanovsky <[email protected]>

Remove extra asterisk to avoid the following kernel-doc warning:

Quoted 8 lines

Warning: drivers/infiniband/hw/mlx5/umr.c:986 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst

Fixes e73242aa14d2 ("RDMA/mlx5: Optimize DMABUF mkey page size")
---
 drivers/infiniband/hw/mlx5/umr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason