mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
vsnprintf: fix up kerneldoc for argument name changes
Stephen Rothwell reports that I missed fixing up the documentation when the argument names changed in commit938df695e9
("vsprintf: associate the format state with the format pointer"), resulting in htmldoc warnings like lib/vsprintf.c:2760: warning: Function parameter or struct member 'fmt_str' not described in 'vsnprintf' lib/vsprintf.c:2760: warning: Excess function parameter 'fmt' description in 'vsnprintf' ... which I didn't notice because the doc build takes longer than the whole "real" kernel build for me, so I never bother (and judging by the other warnings, pretty much nobody else does either). I guess the bigger issues won't be fixed until the doc build is much faster (narrator: "That isn's in the cards") but at least linux-next finds the new cases. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes:938df695e9
("vsprintf: associate the format state with the format pointer") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4c538044ee
commit
fa47906ff3
|
@ -2732,7 +2732,7 @@ static unsigned long long convert_num_spec(unsigned int val, int size, struct pr
|
|||
* vsnprintf - Format a string and place it in a buffer
|
||||
* @buf: The buffer to place the result into
|
||||
* @size: The size of the buffer, including the trailing null space
|
||||
* @fmt: The format string to use
|
||||
* @fmt_str: The format string to use
|
||||
* @args: Arguments for the format string
|
||||
*
|
||||
* This function generally follows C99 vsnprintf, but has some
|
||||
|
@ -3020,7 +3020,7 @@ EXPORT_SYMBOL(sprintf);
|
|||
* vbin_printf - Parse a format string and place args' binary value in a buffer
|
||||
* @bin_buf: The buffer to place args' binary value
|
||||
* @size: The size of the buffer(by words(32bits), not characters)
|
||||
* @fmt: The format string to use
|
||||
* @fmt_str: The format string to use
|
||||
* @args: Arguments for the format string
|
||||
*
|
||||
* The format follows C99 vsnprintf, except %n is ignored, and its argument
|
||||
|
@ -3155,7 +3155,7 @@ EXPORT_SYMBOL_GPL(vbin_printf);
|
|||
* bstr_printf - Format a string from binary arguments and place it in a buffer
|
||||
* @buf: The buffer to place the result into
|
||||
* @size: The size of the buffer, including the trailing null space
|
||||
* @fmt: The format string to use
|
||||
* @fmt_str: The format string to use
|
||||
* @bin_buf: Binary arguments for the format string
|
||||
*
|
||||
* This function like C99 vsnprintf, but the difference is that vsnprintf gets
|
||||
|
|
Loading…
Reference in New Issue
Block a user