Skip to contentSkip to conversation

linux-next: build warning after merge of the kspp tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 8, 2024 – Feb 10, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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()")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

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

Quoted 7 lines

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.

Signature · 1 line
Kees Cook