mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] of: property: fix typo in kernel-doc return description
@ 2026-02-25  9:38 Song Hongyi
  2026-02-27 23:49 ` Rob Herring (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Song Hongyi @ 2026-02-25  9:38 UTC (permalink / raw)
  To: robh, saravanak; +Cc: devicetree, linux-kernel, Song Hongyi

Fix the spelling of "success" in the return value description
of the kernel-doc comment to improve documentation quality.

Signed-off-by: Song Hongyi <szpcq123@gmail.com>
---
 drivers/of/property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/property.c b/drivers/of/property.c
index 50d95d512bf5..457e628ff9db 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -88,7 +88,7 @@ EXPORT_SYMBOL(of_graph_is_present);
  * Search for a property in a device node and count the number of elements of
  * size elem_size in it.
  *
- * Return: The number of elements on sucess, -EINVAL if the property does not
+ * Return: The number of elements on success, -EINVAL if the property does not
  * exist or its length does not match a multiple of elem_size and -ENODATA if
  * the property does not have a value.
  */
-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] of: property: fix typo in kernel-doc return description
  2026-02-25  9:38 [PATCH] of: property: fix typo in kernel-doc return description Song Hongyi
@ 2026-02-27 23:49 ` Rob Herring (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-02-27 23:49 UTC (permalink / raw)
  To: Song Hongyi; +Cc: linux-kernel, devicetree, saravanak


On Wed, 25 Feb 2026 17:38:14 +0800, Song Hongyi wrote:
> Fix the spelling of "success" in the return value description
> of the kernel-doc comment to improve documentation quality.
> 
> Signed-off-by: Song Hongyi <szpcq123@gmail.com>
> ---
>  drivers/of/property.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-27 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-25  9:38 [PATCH] of: property: fix typo in kernel-doc return description Song Hongyi
2026-02-27 23:49 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®