[PATCH 3/5] block, bfq: don't convert pid type in bfq_log_bfqq()

Yuwei Guan posted 5 patches 3 years, 5 months ago
[PATCH 3/5] block, bfq: don't convert pid type in bfq_log_bfqq()
Posted by Yuwei Guan 3 years, 5 months ago
Don't convert pid type in bfq_log_bfqq()

Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
---
 block/bfq-iosched.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index e00c67a01b09..9c626fba41c8 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -3109,8 +3109,7 @@ static void
 bfq_merge_bfqqs(struct bfq_data *bfqd, struct bfq_io_cq *bic,
 		struct bfq_queue *bfqq, struct bfq_queue *new_bfqq)
 {
-	bfq_log_bfqq(bfqd, bfqq, "merging with queue %lu",
-		(unsigned long)new_bfqq->pid);
+	bfq_log_bfqq(bfqd, bfqq, "merging with queue %d", new_bfqq->pid);
 	/* Save weight raising and idle window of the merged queues */
 	bfq_bfqq_save_state(bfqq);
 	bfq_bfqq_save_state(new_bfqq);
-- 
2.34.1