From nobody Sun May 19 10:01:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1556613802; cv=none; d=zoho.com; s=zohoarc; b=LHqNhTO4fF65feQHBJfux3RxIGCccCwcDSSK8q3C0KhVoUWBuK3w8o8fe16JpM8S5Q4miKCPcETJK8d0Zrwczt8c+Y+6XcS9vyvul0IBetDZ2kDgHXORNX68ybg3Ic4K1oLwGwVSvPbIhYlh/ejL3ekkii7RYYEe5lsUQaiKK1E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556613802; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=c7i9I4+H4i5tERYu6oYFjeiHCKAKTs+SQy276zWHh9A=; b=HLOtRM2txfkQGyPmqWsTeFmP4zxb/u8woYA/9w01MTy9Ei//rjAxwuwQXZcbSisOfxvzNafc+mk/nZyIosTCMT9uhyKzpAfI0tgaqTdAWiXjLT+s+2SLhIFyLnTccw1iZ06FlIx+JzNM92ShAHcKq5ceUZw84dq4ZQJ7EbsFc3I= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1556613802060375.86175799868363; Tue, 30 Apr 2019 01:43:22 -0700 (PDT) Received: from localhost ([127.0.0.1]:41640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLOM6-0005y1-PG for importer@patchew.org; Tue, 30 Apr 2019 04:43:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLOLB-0005X7-CL for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:42:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLOL8-00029Q-E1 for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:42:17 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2494 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLOKR-0001y8-K4 for qemu-devel@nongnu.org; Tue, 30 Apr 2019 04:42:14 -0400 Received: from DGGEML403-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 7D60BD9DE1AC37CE5259; Tue, 30 Apr 2019 16:41:27 +0800 (CST) Received: from localhost.localdomain (10.175.104.211) by DGGEML403-HUB.china.huawei.com (10.3.17.33) with Microsoft SMTP Server id 14.3.439.0; Tue, 30 Apr 2019 16:41:20 +0800 From: Jie Wang To: Date: Tue, 30 Apr 2019 14:29:33 +0800 Message-ID: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.175.104.211] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 45.249.212.188 Subject: [Qemu-devel] [PATCH] vhost: fix incorrect print type X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: eric.fangyi@huawei.com, wangjie88@huawei.com, wu.wubin@huawei.com, mst@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/virtio/vhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index 7f61018f2a..286bb27c65 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *de= v, =20 r =3D dev->vhost_ops->vhost_get_vring_base(dev, &state); if (r < 0) { - VHOST_OPS_DEBUG("vhost VQ %d ring restore failed: %d", idx, r); + VHOST_OPS_DEBUG("vhost VQ %u ring restore failed: %d", idx, r); /* Connection to the backend is broken, so let's sync internal * last avail idx to the device used idx. */ --=20 2.16.2.windows.1