[PATCH] mtd: virt_concat: fix kdoc text
From: Luca Ceresoli
Date: Mon Mar 09 2026 - 17:19:01 EST
The function name in the kdoc comment is different from the name of the
function being documented, fix it.
Fixes: 43db6366fc2d ("mtd: Add driver for concatenating devices")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202603041232.fNDHNtUa-lkp@xxxxxxxxx/
Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
---
drivers/mtd/mtd_virt_concat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/mtd_virt_concat.c b/drivers/mtd/mtd_virt_concat.c
index aea88d1c9bc5..42c3bf189faa 100644
--- a/drivers/mtd/mtd_virt_concat.c
+++ b/drivers/mtd/mtd_virt_concat.c
@@ -222,7 +222,7 @@ void mtd_virt_concat_destroy_items(void)
}
/**
- * mtd_virt_concat_create_add - Add a mtd device to the concat list
+ * mtd_virt_concat_add - Add a mtd device to the concat list
* @mtd: pointer to 'mtd_info'
*
* Return: true on success, false otherwise.
---
base-commit: 43db6366fc2de02050e66389f5628d3fdc9af10a
change-id: 20260309-mtd-virt-concat-fix-kdoc-604a6d63976d
Best regards,
--
Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>