Skip to contentSkip to conversation

mtd: powernv_flash: fix kernel-doc for powernv_flash_release

PATCH Applied Rosen Penev 3 participants 3 messages Sep 7 – Sep 9

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

PATCH 1/1 mtd: powernv_flash: fix kernel-doc for powernv_flash_release

The function is powernv_flash_release, not op_release. Update the kernel-doc comment to match.

Fixes W=1 warning:

Warning: drivers/mtd/devices/powernv_flash.c:271 expecting prototype for op_release(). Prototype was for powernv_flash_release() instead

Assisted-by Opencode:BigPickle
---
 drivers/mtd/devices/powernv_flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/devices/powernv_flash.c +1 -1
index a12427d9e20f..fe1d6684d0bd 100644
@@ -263,7 +263,7 @@ static int powernv_flash_probe(struct platform_device *pdev)
 }
 
 /**
- * op_release - Release the driver
+ * powernv_flash_release - Release the driver
  * @pdev: the platform device
  *
  * Returns 0
Signature · 1 line
2.55.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Rosen Penev

The function is powernv_flash_release, not op_release. Update the kernel-doc comment to match.

Fixes W=1 warning:

Quoted 7 lines

Warning: drivers/mtd/devices/powernv_flash.c:271 expecting prototype for op_release(). Prototype was for powernv_flash_release() instead

Assisted-by Opencode:BigPickle
---
 drivers/mtd/devices/powernv_flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

LGTM. Please feel free to add:

maintainer Applied
#2 lore raw
In reply to Rosen Penev
Quoted 8 lines · Rosen Penev

The function is powernv_flash_release, not op_release. Update the kernel-doc comment to match.

Fixes W=1 warning:

Warning: drivers/mtd/devices/powernv_flash.c:271 expecting prototype for op_release(). Prototype was for powernv_flash_release() instead

[...]

Applied to mtd/next, thanks!

[1/1] mtd: powernv_flash: fix kernel-doc for powernv_flash_release

      commit: 673f0a002d60701af888d2280543b7556c0c2b20

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