From mboxrd@z Thu Jan 1 00:00:00 1970 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 From: Jie Wang Date: Tue, 30 Apr 2019 14:29:33 +0800 Message-ID: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH] vhost: fix incorrect print type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, wangjie88@huawei.com, wu.wubin@huawei.com, eric.fangyi@huawei.com fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang --- 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 *dev, r = 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. */ -- 2.16.2.windows.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC2EFC43219 for ; Tue, 30 Apr 2019 08:43:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E89121734 for ; Tue, 30 Apr 2019 08:43:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E89121734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:41640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLOM3-0005y1-Q4 for qemu-devel@archiver.kernel.org; Tue, 30 Apr 2019 04:43:11 -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 Content-Type: text/plain; charset="UTF-8" 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190430062933.fjYeqJTcXiBcrhGYFI4Zrm-nw-m5mJuqX8XNtcBJKcw@z> fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang --- 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 *dev, r = 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. */ -- 2.16.2.windows.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEC84C28CC0 for ; Wed, 29 May 2019 16:46:55 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B486D23E30 for ; Wed, 29 May 2019 16:46:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B486D23E30 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:57984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1j4-0007EW-V0 for qemu-devel@archiver.kernel.org; Wed, 29 May 2019 12:46:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW1a4-00009e-MT for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW1a3-0002sr-Ov for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:36 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:35182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW1a3-0002sd-Km for qemu-devel@nongnu.org; Wed, 29 May 2019 12:37:35 -0400 Received: by mail-qt1-f173.google.com with SMTP id w1so3401682qts.2 for ; Wed, 29 May 2019 09:37:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=iiDzl4UMV1aoKP5peI6KxUVyGaqr+EjtWQoUZIGhRlM=; b=RihmqOlpMVnelhWlJIvOGNQEx6KyUlc3kFN2VqsyJTMGMhcf08gRGSTNaANE3/Yqyz KjGQe8y/WpmZnKGRNbhp9hYjnpipEJU7izsIK4Cez06fc1W/awml+RrGvWXYIFLH2lCG eEv1i9pQcWbSOBB58DbvgcGKx/LJyBKiyPhY3lEsYiOs/3msPYo4rTK6aog8FMXNR68n ndnNpXTrWM4g3H2mcOGhoFWRjWZMo74oa9vUnN0EKPYUiluluiofhWd/MF6wdYBtivs4 qB8lNt/qhXzvV1HlhXwBOqC1Fma5BEKDcV4pEJ/UnDOPVAOtbEWQ2kxWYeN0921hoD1b J9tw== X-Gm-Message-State: APjAAAUq2z1dX5oSHug2iZXgV9yFF4uLbP2n4pCwgXkJ9PpL7181e8jX u443bMRWvLpnAIgIuWjepqRFtMr+vm0= X-Google-Smtp-Source: APXvYqwfPEXRZFxOlMKYpV5KHvBLMHoQ5yf4zntBNKntULB5d8VAq4SErFI/n1rBtQmmFVXDYa+Iog== X-Received: by 2002:aed:39e5:: with SMTP id m92mr92855637qte.106.1559147854764; Wed, 29 May 2019 09:37:34 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id x1sm4759171qkf.61.2019.05.29.09.37.33 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 29 May 2019 09:37:33 -0700 (PDT) Date: Wed, 29 May 2019 12:37:32 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> References: <20190529163604.18560-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190529163604.18560-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.173 Subject: [Qemu-devel] [PULL 09/10] 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: Peter Maydell , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190529163732.VY320yC3QytZgiNPJOcpUQ8RVWq9h29U5B40wpaMvzg@z> From: Jie Wang fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang Message-Id: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Philippe Mathieu-Daudé --- 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 2303a8c206..60747a6f93 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = 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. */ -- MST From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DD58C04AB5 for ; Mon, 3 Jun 2019 18:11:00 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 42FF122ADF for ; Mon, 3 Jun 2019 18:11:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42FF122ADF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:38985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrQB-0003Mv-DM for qemu-devel@archiver.kernel.org; Mon, 03 Jun 2019 14:10:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrOH-00026f-Ks for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:09:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXrOA-0000EU-Uu for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:08:58 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:45931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXrO9-00006l-Es for qemu-devel@nongnu.org; Mon, 03 Jun 2019 14:08:54 -0400 Received: by mail-qt1-f177.google.com with SMTP id j19so6807195qtr.12 for ; Mon, 03 Jun 2019 11:08:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=iiDzl4UMV1aoKP5peI6KxUVyGaqr+EjtWQoUZIGhRlM=; b=j9L96QiYuHHa/tRNdyIpS+CLgMoPqSpH4JyuhMx7v4ww0kdojJTlqM4Bs29la5t5Ti o2rUUxyq0CK7Co+Hwnzz8ANDgsGwZ4M3QWzHE+CSvKbY+xrqDnEpLrawVo8ex0/MAp3X rAQDy0qSsvAJiViBy8xsnBKWE+eU8wSVCBiWdGF5n6ve6mzg2YVlxftED5dOGsJDo6Dv Wgy6h8Yww6TP0y8HqoBUaWVZ0cJn+lrZZ9rKBUISX4e3NaWHAEY/tOZknCes8YjJFy4D 9o6mAn4YtqlQYLK/2dP2HwKX7hjTrxHMs4LcNYPLuCP9fL6teIpmCBb2RLOP2N6mA1Mx 66bA== X-Gm-Message-State: APjAAAXryQ43Tv0hWbh6pyBtGgWHp1cQQfPbGWtWCpTpi0PPXuGnTd8C jp/7L2OEEZOG9b63weCA1wwAQeFVGm4= X-Google-Smtp-Source: APXvYqzswbAufNWBbAf7fn+yscEjjU91aiXGqJ47l+rt2HFZSkmrPxv3aLzqMYmoHDecEfwVZOTC6A== X-Received: by 2002:ac8:869:: with SMTP id x38mr20231786qth.392.1559585331745; Mon, 03 Jun 2019 11:08:51 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id p37sm9724836qtc.35.2019.06.03.11.08.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 03 Jun 2019 11:08:51 -0700 (PDT) Date: Mon, 3 Jun 2019 14:08:49 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> References: <20190603180807.16140-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190603180807.16140-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.177 Subject: [Qemu-devel] [PULL v2 08/14] 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: Peter Maydell , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190603180849.3udaKz-UXik85zcDhoyTZvzNVHIv519FXxilAzUEuKw@z> From: Jie Wang fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang Message-Id: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Philippe Mathieu-Daudé --- 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 2303a8c206..60747a6f93 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = 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. */ -- MST From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8377C28CC5 for ; Wed, 5 Jun 2019 20:11:52 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1743206BB for ; Wed, 5 Jun 2019 20:11:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1743206BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:49222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYcGF-0003PO-Ra for qemu-devel@archiver.kernel.org; Wed, 05 Jun 2019 16:11:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYc5P-00034G-2z for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYc5K-0005Yb-LI for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:38 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:40908) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYc5K-0005O7-Ep for qemu-devel@nongnu.org; Wed, 05 Jun 2019 16:00:34 -0400 Received: by mail-qt1-f172.google.com with SMTP id a15so5013126qtn.7 for ; Wed, 05 Jun 2019 13:00:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=iiDzl4UMV1aoKP5peI6KxUVyGaqr+EjtWQoUZIGhRlM=; b=F6obAn+MzUySQfoYi1NyI/gAdn3KzrZEF5Y4FIpzKdAHpXdN6/vuyVDWnq/gRs4RRH Y66VMZ9giwatxIdq3gdhtQX3622AW5Ait2Bcrjj2P5ftqiWcWAyCEQmlIfRJLCgvyvkc Jmihiey2yRcKwraxApsT/QmYo8ay8OlgMBhij5Bv7zjbe1oG1hTWRHEK6I812D1+ur0G DSk7gTrzTt81A7YhekB9n1D8C98cVzXkF2ht/zrUvepTNsZFqpuDbn/sqzUhsjcAipec CxUe5EAUJ4nR3tEd71Wd3cYxnfqejcgO4d0ulyIH0nIr5zPEduXRFRZy85WqQpw48e2f qsug== X-Gm-Message-State: APjAAAWPcPLrKsfavE5I23dirBWOKlAF41HMlqBjvZoAmUeMITIkhBuX 1KF1r87//wrJM5z0hEzx0SX/7CLV/pc= X-Google-Smtp-Source: APXvYqyJUlOErrtQNIVDXRJfs9ypAMXDQWHxbfLul+X8KzcHwVNhZ0nIKpPDWljWO6n7B97En7kSSg== X-Received: by 2002:ac8:21f8:: with SMTP id 53mr36499768qtz.16.1559764829009; Wed, 05 Jun 2019 13:00:29 -0700 (PDT) Received: from redhat.com (pool-100-0-197-103.bstnma.fios.verizon.net. [100.0.197.103]) by smtp.gmail.com with ESMTPSA id d188sm12711328qkf.40.2019.06.05.13.00.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 05 Jun 2019 13:00:28 -0700 (PDT) Date: Wed, 5 Jun 2019 16:00:27 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> References: <20190605195913.12243-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190605195913.12243-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.172 Subject: [Qemu-devel] [PULL v3 08/17] 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: Peter Maydell , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Jie Wang Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190605200027.XGvsxXjv-ZindZuB-nk8u6ZBbFhE3dEeBerM5H_G0cc@z> From: Jie Wang fix incorrect print type in vhost_virtqueue_stop Signed-off-by: Jie Wang Message-Id: <1556605773-42019-1-git-send-email-wangjie88@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Philippe Mathieu-Daudé --- 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 2303a8c206..60747a6f93 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev, r = 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. */ -- MST