mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 12:52:40 -04:00
bcachefs: fix security warning in pr_name_and_units
Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
f83009cda3
commit
55b8550d30
@@ -436,7 +436,7 @@ static void bch2_pr_time_units_aligned(struct printbuf *out, u64 ns)
|
||||
|
||||
static inline void pr_name_and_units(struct printbuf *out, const char *name, u64 ns)
|
||||
{
|
||||
prt_printf(out, name);
|
||||
prt_str(out, name);
|
||||
prt_tab(out);
|
||||
bch2_pr_time_units_aligned(out, ns);
|
||||
prt_newline(out);
|
||||
|
||||
Reference in New Issue
Block a user