* [PATCH 1/1] blk-mq/debugfs: Fix improper print qualifier
@ 2019-06-14 11:39 Pavel Begunkov (Silence)
2019-06-15 7:39 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Begunkov (Silence) @ 2019-06-14 11:39 UTC (permalink / raw)
To: Jens Axboe, linux-block, linux-kernel; +Cc: Pavel Begunkov
From: Pavel Begunkov <asml.silence@gmail.com>
struct blk_rq_stat::mean is a u64 value, so use %llu
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
---
block/blk-mq-debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c
index 6aea0ebc3a73..f69da381cb1e 100644
--- a/block/blk-mq-debugfs.c
+++ b/block/blk-mq-debugfs.c
@@ -17,7 +17,7 @@
static void print_stat(struct seq_file *m, struct blk_rq_stat *stat)
{
if (stat->nr_samples) {
- seq_printf(m, "samples=%d, mean=%lld, min=%llu, max=%llu",
+ seq_printf(m, "samples=%d, mean=%llu, min=%llu, max=%llu",
stat->nr_samples, stat->mean, stat->min, stat->max);
} else {
seq_puts(m, "samples=0");
--
2.22.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] blk-mq/debugfs: Fix improper print qualifier
2019-06-14 11:39 [PATCH 1/1] blk-mq/debugfs: Fix improper print qualifier Pavel Begunkov (Silence)
@ 2019-06-15 7:39 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2019-06-15 7:39 UTC (permalink / raw)
To: Pavel Begunkov (Silence), linux-block, linux-kernel
On 6/14/19 5:39 AM, Pavel Begunkov (Silence) wrote:
> From: Pavel Begunkov <asml.silence@gmail.com>
>
> struct blk_rq_stat::mean is a u64 value, so use %llu
Applied, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-15 7:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14 11:39 [PATCH 1/1] blk-mq/debugfs: Fix improper print qualifier Pavel Begunkov (Silence)
2019-06-15 7:39 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®