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.

string: fix kerneldoc formatting in strends()

strends() kernel doc should have used `@str:` format for arguments
instead of `@str -`.

Fixes: 197b3f3c70d6 ("string: provide strends()")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20251118134748.40f03b9c@canb.auug.org.au/
Link: https://lore.kernel.org/r/20251118-strends-follow-up-v1-1-d3f8ef750f59@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

+2 -2
+2 -2
include/linux/string.h
··· 564 564 565 565 /** 566 566 * strends - Check if a string ends with another string. 567 - * @str - NULL-terminated string to check against @suffix 568 - * @suffix - NULL-terminated string defining the suffix to look for in @str 567 + * @str: NULL-terminated string to check against @suffix 568 + * @suffix: NULL-terminated string defining the suffix to look for in @str 569 569 * 570 570 * Returns: 571 571 * True if @str ends with @suffix. False in all other cases.