From: Gabriel Shahrouzi <gshahrouzi@gmail.com>
To: kent.overstreet@linux.dev
Cc: gshahrouzi@gmail.com, linux-bcachefs@vger.kernel.org,
shuah@kernel.org, linux-kernel@vger.kernel.org,
linux-kernel-mentees@lists.linux.dev
Subject: [PATCH 1/3] bcachefs: Fix escape sequence in prt_printf
Date: Thu, 3 Apr 2025 21:28:20 -0400 [thread overview]
Message-ID: <20250404012822.188485-2-gshahrouzi@gmail.com> (raw)
In-Reply-To: <20250404012822.188485-1-gshahrouzi@gmail.com>
Remove backslash before format specifier. Ensure correct output.
Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
---
fs/bcachefs/data_update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c
index fe400dfc5d76..9fb020a58d86 100644
--- a/fs/bcachefs/data_update.c
+++ b/fs/bcachefs/data_update.c
@@ -607,7 +607,7 @@ void bch2_data_update_inflight_to_text(struct printbuf *out, struct data_update
prt_newline(out);
printbuf_indent_add(out, 2);
bch2_data_update_opts_to_text(out, m->op.c, &m->op.opts, &m->data_opts);
- prt_printf(out, "read_done:\t\%u\n", m->read_done);
+ prt_printf(out, "read_done:\t%u\n", m->read_done);
bch2_write_op_to_text(out, &m->op);
printbuf_indent_sub(out, 2);
}
--
2.43.0
next prev parent reply other threads:[~2025-04-04 1:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-04 1:28 [PATCH 0/3] This series addresses several minor issues found using sparse Gabriel Shahrouzi
2025-04-04 1:28 ` Gabriel Shahrouzi [this message]
2025-04-04 1:28 ` [PATCH 2/3] bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucket Gabriel Shahrouzi
2025-04-04 1:28 ` [PATCH 3/3] bcachefs: Use cpu_to_le16 for dirent lengths Gabriel Shahrouzi
2025-04-04 1:34 ` [PATCH 0/3] This series addresses several minor issues found using sparse Kent Overstreet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250404012822.188485-2-gshahrouzi@gmail.com \
--to=gshahrouzi@gmail.com \
--cc=kent.overstreet@linux.dev \
--cc=linux-bcachefs@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox