From patchwork Fri Jun 14 11:39:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Begunkov X-Patchwork-Id: 10995121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1F2DC924 for ; Fri, 14 Jun 2019 11:39:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10FF3285D5 for ; Fri, 14 Jun 2019 11:39:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1E2528606; Fri, 14 Jun 2019 11:39:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1696285A3 for ; Fri, 14 Jun 2019 11:39:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727217AbfFNLju (ORCPT ); Fri, 14 Jun 2019 07:39:50 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55941 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbfFNLjt (ORCPT ); Fri, 14 Jun 2019 07:39:49 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so1992372wmj.5; Fri, 14 Jun 2019 04:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5QkQOtBCvlpUCN6hRdiPhpjDsy/zd75Sg/vSA1kvV7I=; b=jaPnhTGE71G4ZdV+SZXIJmPlRFM8tFsJyRbm6x51cF1rn2xU5i9q+R/NBoWeGCO5cp S96GZGjqgBM2i8xp7GrvTL7EQ1gAydh2T6uw2UldnXHA5zfjaS9RnzKO9fDhmAAYwWyM ZBVQt/O41N2xQa5IRa2Z8Y/4yYKR8tkRLlm/9AE0Gptl0hSigq0QeNfx2HRz3pLvD2O+ zbB9gDgwapWNU/Wiy/coZiBp/KQn5UDhdS1Hw0ax33+485vgFCXBrwCc6oOag+z5kj8/ bzkU1MI37eoBr+DgQPQ+cE1HjmeFRJXTR67XEuWPH9f8oM9TASSWyxnUu4Bv59GmlBYu DtyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5QkQOtBCvlpUCN6hRdiPhpjDsy/zd75Sg/vSA1kvV7I=; b=DcxuAAsvQ86flfE5TPkC8IllLPsMGEw2qWNZc9PJo+wwJLbEdfrduaq+05qG5ZMp3Z aLYVCRTtAZ7lDC+jdjojlHfUKVMUHNWspd9CUerWzQso7xsfPe07zwlyjgXVmvmoEKsU zhDPDfe9qhRxyfVRdnpHjJZtx417EHjHwJ6g+d78e/51BVda89Av13/PLNJ6cm8Hp+tM +8CRUw3BOGiPrsH68/frJJYbbYub3HBNVhuwFV7X32ihGb6VQaMMBwT2pIUrWxmZy3eS /og9pwGVCQjpSs31DJktaSyVHEZ36EtCIJLBz4IX70Y+hNax8oTHu2szJ6/BlKv3Hst+ y/sg== X-Gm-Message-State: APjAAAWUpciCRttTFcq/3Wj1Ei5j7fMFaH9DLDQNWfVUJ6kOTQ7ERl6n bq0g5fxVzioU3Yec85HW3V2TmfbpLC3PVw== X-Google-Smtp-Source: APXvYqxq6BZ+1M454AIWXxu8PflknrArMEw84BFEpKH9XMXPD0MCV08mnGX+9mgYW5qR/mO3ohNYPg== X-Received: by 2002:a7b:c842:: with SMTP id c2mr7682152wml.28.1560512387550; Fri, 14 Jun 2019 04:39:47 -0700 (PDT) Received: from localhost.localdomain ([185.107.117.129]) by smtp.gmail.com with ESMTPSA id o1sm3051021wre.76.2019.06.14.04.39.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 04:39:46 -0700 (PDT) From: "Pavel Begunkov (Silence)" To: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pavel Begunkov Subject: [PATCH 1/1] blk-mq/debugfs: Fix improper print qualifier Date: Fri, 14 Jun 2019 14:39:26 +0300 Message-Id: <7f9091f59d0331bf55286d5f78fa20fa4dde2e21.1560486257.git.asml.silence@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Pavel Begunkov struct blk_rq_stat::mean is a u64 value, so use %llu Signed-off-by: Pavel Begunkov --- 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");