Skip to contentSkip to conversation

of: property: fix typo in kernel-doc return description

PATCH Applied Song Hongyi 2 participants 2 messages Feb 25 – Feb 27 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: property: fix typo in kernel-doc return description

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

---
 drivers/of/property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/property.c +1 -1
index 50d95d512bf5..457e628ff9db 100644
@@ -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.
  */
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Song Hongyi

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

---
 drivers/of/property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!