projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eeccee
)
bcachefs: Fix missing va_end()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 14 Feb 2024 01:26:09 +0000
(20:26 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 14 Feb 2024 02:59:27 +0000
(21:59 -0500)
Fixes: https://lore.kernel.org/linux-bcachefs/
202402131603
.
E953E2CF
@keescook/T/#u
Reported-by: coverity scan
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/printbuf.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/printbuf.c
b/fs/bcachefs/printbuf.c
index
accf246
..
b27d229
100644
(file)
--- a/
fs/bcachefs/printbuf.c
+++ b/
fs/bcachefs/printbuf.c
@@
-56,6
+56,7
@@
void bch2_prt_vprintf(struct printbuf *out, const char *fmt, va_list args)
va_copy(args2, args);
len = vsnprintf(out->buf + out->pos, printbuf_remaining(out), fmt, args2);
+ va_end(args2);
} while (len + 1 >= printbuf_remaining(out) &&
!bch2_printbuf_make_room(out, len + 1));