From nobody Mon Feb 9 01:35:08 2026 Received: from cmccmta2.chinamobile.com (cmccmta4.chinamobile.com [111.22.67.137]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C367D71B3A for ; Wed, 24 Jul 2024 07:41:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.137 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721806881; cv=none; b=SmsYCIuyJ0iC7FFuSmzUXccWh/QUVz/snzGut5oIZtxkoju9EP575TQfRPBI+j/XzOmtugndeXQjlqWei0BYREcvIS2k7kNQNKxOcVw6MnZ1T96z6KsMfiGRxntgC/OzbSXYe0Pv7MSSC0p9Kj/MtylNrApeajiMoA4PpeWS4+0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721806881; c=relaxed/simple; bh=hE8ktlpj2I0sEfyauUuSarz3WiB52KyQR97yUyk6ygU=; h=From:To:Cc:Subject:Date:Message-Id; b=T7nIgzSM1ot8TZ0qjLnY2QORRQXW/3nhDJK0qRq62EcgmIckVA6llxAdHoUchFYXWOKLucE9DrkiPCY9/Sdsg0TARVOAtMGIHzMrYi+B1n63bctSwHhG/HkHUnU2o32txiRC6eI9TIDV3QLMu1JXDFD5KLtapD+Yx4WzBxwq2zo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.137 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app08-12008 (RichMail) with SMTP id 2ee866a0b015e42-d2e6e; Wed, 24 Jul 2024 15:41:10 +0800 (CST) X-RM-TRANSID: 2ee866a0b015e42-d2e6e X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from ubuntu.localdomain (unknown[223.108.79.96]) by rmsmtp-syy-appsvr08-12008 (RichMail) with SMTP id 2ee866a0b01526c-9c7a5; Wed, 24 Jul 2024 15:41:10 +0800 (CST) X-RM-TRANSID: 2ee866a0b01526c-9c7a5 From: Zhu Jun To: mst@redhat.com, jasowang@redhat.com Cc: xuanzhuo@linux.alibaba.com, eperezma@redhat.com, zhujun2@cmss.chinamobile.com, virtualization@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] tools/virtio:Fix the wrong format specifier Date: Wed, 24 Jul 2024 00:41:08 -0700 Message-Id: <20240724074108.9530-1-zhujun2@cmss.chinamobile.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The unsigned int should use "%u" instead of "%d". Signed-off-by: Zhu Jun Reviewed-by: Eugenio P=C3=A9rez Reviewed-by: Xuan Zhuo --- tools/virtio/ringtest/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virtio/ringtest/main.c b/tools/virtio/ringtest/main.c index 5a18b2301a63..e471d8e7cfaa 100644 --- a/tools/virtio/ringtest/main.c +++ b/tools/virtio/ringtest/main.c @@ -276,7 +276,7 @@ static void help(void) fprintf(stderr, "Usage: [--help]" " [--host-affinity H]" " [--guest-affinity G]" - " [--ring-size R (default: %d)]" + " [--ring-size R (default: %u)]" " [--run-cycles C (default: %d)]" " [--batch b]" " [--outstanding o]" --=20 2.17.1