Re: [PATCH] string: Rewrite and add more kern-doc for the str*() functions
From: Akira Yokosawa
Date: Fri Sep 23 2022 - 22:31:26 EST
Hi Kees,
On Wed, 21 Sep 2022 23:28:17 -0700, Kees Cook wrote:
> While there were varying degrees of kern-doc for various str*()-family
> functions, many needed updating and clarification, or to just be
> entirely written. Update (and relocate) existing kern-doc and add missing
> functions, sadly shaking my head at how many times I have written "Do
> not use this function". Include the results in the core kernel API doc.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> Follow up to https://lore.kernel.org/lkml/20220902223507.2537469-1-keescook@xxxxxxxxxxxx
> Note that this is on top of my recent fortify-string.h series:
> https://lore.kernel.org/lkml/20220920192202.190793-1-keescook@xxxxxxxxxxxx/
I wanted to test this change, but I've not able to find a good commit
where the fortify-string.h series and this one can be applied cleanly.
Would you mind creating a topic branch somewhere on your git tree
and sharing it?
Regards,
Akira
> ---
> Documentation/core-api/kernel-api.rst | 3 +
> include/linux/fortify-string.h | 133 ++++++++++++++++++++++++--
> lib/string.c | 82 ----------------
> scripts/kernel-doc | 4 +
> 4 files changed, 130 insertions(+), 92 deletions(-)
>
[...]