Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Song Hongyi <szpcq123@gmail.com>
Link: https://patch.msgid.link/20260225093814.124735-1-szpcq123@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Song Hongyi and committed by
Rob Herring (Arm)
60477d78 28f060c4

+1 -1
+1 -1
drivers/of/property.c
··· 88 88 * Search for a property in a device node and count the number of elements of 89 89 * size elem_size in it. 90 90 * 91 - * Return: The number of elements on sucess, -EINVAL if the property does not 91 + * Return: The number of elements on success, -EINVAL if the property does not 92 92 * exist or its length does not match a multiple of elem_size and -ENODATA if 93 93 * the property does not have a value. 94 94 */