2024-02-08 03:48:56

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the kspp tree

Hi all,

After merging the kspp tree, today's linux-next build (htmldocs) produced
this warning:

include/linux/string.h:142: warning: Function parameter or struct member 'dst' not described in 'strscpy_pad'
include/linux/string.h:142: warning: Excess function parameter 'dest' description in 'strscpy_pad'
include/linux/string.h:142: warning: Excess function parameter 'count' description in 'strscpy_pad'

Introduced by commit

0bf7961afff1 ("string: Allow 2-argument strscpy_pad()")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-02-10 06:44:24

by Kees Cook

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the kspp tree

On Thu, Feb 08, 2024 at 02:48:42PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the kspp tree, today's linux-next build (htmldocs) produced
> this warning:
>
> include/linux/string.h:142: warning: Function parameter or struct member 'dst' not described in 'strscpy_pad'
> include/linux/string.h:142: warning: Excess function parameter 'dest' description in 'strscpy_pad'
> include/linux/string.h:142: warning: Excess function parameter 'count' description in 'strscpy_pad'
>
> Introduced by commit
>
> 0bf7961afff1 ("string: Allow 2-argument strscpy_pad()")

Thanks! This is fixed now.

--
Kees Cook