[PATCH] mtd: virt_concat: fix kdoc text

Luca Ceresoli posted 1 patch 1 month ago
drivers/mtd/mtd_virt_concat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: virt_concat: fix kdoc text
Posted by Luca Ceresoli 1 month ago
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603041232.fNDHNtUa-lkp@intel.com/
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 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@bootlin.com>
Re: [PATCH] mtd: virt_concat: fix kdoc text
Posted by Miquel Raynal 4 weeks ago
On Mon, 09 Mar 2026 22:17:48 +0100, Luca Ceresoli wrote:
> The function name in the kdoc comment is different from the name of the
> function being documented, fix it.
> 
> 

Applied to mtd/next, thanks!

[1/1] mtd: virt_concat: fix kdoc text
      commit: 87d8f1285470b3c8367880993113ea604d365e33

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl