Skip to content
Snippets Groups Projects
Commit d9be9b90 authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds
Browse files

lib/vsprintf.c: fix interaction of kasprintf() and vsnprintf() when using %pV


Otherwise, the warning at the top of vsnprintf() gets triggered by
kvasprintf()'s first invocation (with NULL buffer and zero size) of
vsnprintf().

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 746a2a83
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment