Commit 6f87b413 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

string: fix kerneldoc formatting in strends()



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

Fixes: 197b3f3c ("string: provide strends()")
Reported-by: default avatarStephen 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: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 87100151
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -564,8 +564,8 @@ static inline bool strstarts(const char *str, const char *prefix)

/**
 * strends - Check if a string ends with another string.
 * @str - NULL-terminated string to check against @suffix
 * @suffix - NULL-terminated string defining the suffix to look for in @str
 * @str: NULL-terminated string to check against @suffix
 * @suffix: NULL-terminated string defining the suffix to look for in @str
 *
 * Returns:
 * True if @str ends with @suffix. False in all other cases.