Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp191833imn; Wed, 27 Jul 2022 03:47:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vj/gfcWlUHTyJy6z9wsz03fietmQmLXIP6sCqnIaHJf3gVEADwqGyqtkReYZOyOFuCfvok X-Received: by 2002:a17:902:dace:b0:16d:5cfc:6f9d with SMTP id q14-20020a170902dace00b0016d5cfc6f9dmr17905604plx.55.1658918834523; Wed, 27 Jul 2022 03:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658918834; cv=none; d=google.com; s=arc-20160816; b=hI8UpTGadkHWJNij+1yZr/T0TCAZ1HydkS4bNKv854Uu4QpFNf0V6xh/ajwKyRJ1vn J0Yo+ObhKRFHoHehnM7LUskHYQL1zsFxeFPZHQNbDw0+47EBrU/0kzP7bf1kvBBo+eC1 jZ22cSAZoA1oSr73DN4O33q7ImAyR+u4IejD+789c0v59wWwU2JNrIIsnLZWnr3iS2Dl 2whyLVtQuy01+zIkhu+DK1IMc3c7tgnhGIPMEGcKmSSbdkyfPZ3GOqoPMb8kBpcuAXNI z72XWOvGHtjZDablmf74dcC/Xm60i+JJ7HexkUR6D7s9tTeM1OkurVYjSY93betDPw1C Onmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=PXoFC912ug5FB0IJbRTfz+XhAV14BL+zFW8uUYKzyoE=; b=Sd+6yVWcInEn72O23z3ExZDioM+wD3JnRdr/GIxghu9HEZQBEeELiDnEzTz2U8+5qE xWuduhaCAyv9QvpLKMpQWoLpMT6vukNGy1FntlDRSfFw+T2BY/Paw0Vq2HLMjfHPdNj4 s5gWrUVUNSmSaZlC7gmp5X5nXMMelhKHuQ5VlJ6q3FGybv95Ev0t/JmLfM+nMWoC5Hpp hBFHeqclWdeyjgusgj/qiWULaJ0SRHCEvMAQue9+xJFZv/j18cSWHkkyxzoB9xXieR17 U3QzGWsEAEHgf2CiJyzIAqdvCHED0Gfnx6NpueGYY8yVnSzCOdDSxyuO5BDXgYJf0K0L o6Tg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a170902e80400b0016d2f548842si16194484plg.105.2022.07.27.03.46.58; Wed, 27 Jul 2022 03:47:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230333AbiG0Kku (ORCPT + 99 others); Wed, 27 Jul 2022 06:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbiG0Kkr (ORCPT ); Wed, 27 Jul 2022 06:40:47 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7DD617B for ; Wed, 27 Jul 2022 03:40:42 -0700 (PDT) X-QQ-mid: bizesmtp71t1658918434ty604371 Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 27 Jul 2022 18:40:29 +0800 (CST) X-QQ-SSF: 0100000000000030C000B00A0000020 X-QQ-FEAT: C2zsvWT0ctXZohQ/cZ71IbVYX22hUrNjSquXw9mRHWjFV0DYkYPEVEJ3UEg4e ytiu85joJK7Enu5jMnCDkFF+E3X6mR0FtX3KOEoZFn/4jdvFTILNtHm3gJVass02wUotxuK vZNGTl5Og/gAgTBVXFrZBoeUevt6QhXgB/wVfJcNN3SZ6LgGTZZwARAGPyTAU36W8uQI+fF q1ncDg4xlpojIhBD5AQYbHWALMn+ahD3MIYzFDnJRuaIhSwi7CZiitEmc2zpBGH8hFswEha 2gJL6QY8BBUWxZ/kSmOQGRAYKkHaINoflCG7XeuP3EYU5HzUIk4JaS3HLiZdKgDEbU4lu+Y 8vrvj/9bZL7xOnrhyIi+SEsW5Um993gTBkbx4M0 X-QQ-GoodBg: 0 From: Xin Gao To: mst@redhat.com, jasowang@redhat.com Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] tools: Fix code typo Date: Wed, 27 Jul 2022 18:40:27 +0800 Message-Id: <20220727104027.32515-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,SPF_PASS, T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It would be better to change'unsigned'to'unsigned int'. Signed-off-by: Xin Gao --- tools/virtio/ringtest/noring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virtio/ringtest/noring.c b/tools/virtio/ringtest/noring.c index ce2440d5ca93..3deb8413c289 100644 --- a/tools/virtio/ringtest/noring.c +++ b/tools/virtio/ringtest/noring.c @@ -9,7 +9,7 @@ void alloc_ring(void) } /* guest side */ -int add_inbuf(unsigned len, void *buf, void *datap) +int add_inbuf(unsigned int len, void *buf, void *datap) { return 0; } -- 2.30.2