Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4865932rwb; Mon, 8 Aug 2022 08:14:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR61t5O1Szwiz+GNdI60z2tXrSgL5rTcT4rvBVcpJ0XQpExU5BiRxEw28Kf+yHWlNhUM5+cm X-Received: by 2002:a17:907:a064:b0:730:726f:c62c with SMTP id ia4-20020a170907a06400b00730726fc62cmr14272131ejc.86.1659971661678; Mon, 08 Aug 2022 08:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659971661; cv=none; d=google.com; s=arc-20160816; b=l/A9uiRg++kkKjwzuKkp87aGwa7lFPFk9glsJo+st6vkC5hCOpdJFu7OGxR8ycDbLl WD6yZC07RudRvyVZTJeMiw8f9jHbMiM7bOCwuCcn5GvscYy+s64g9z2Lw4LQooex8cX9 y3OLcw6LGOKfgEI7yqsLJJP+YVlZ4NMxS2aTuUiqxRMPGPv+cl0RWKRKiLw75KPw89fq 5vBuXsQ50IlZAy/uzl0oT1kF8Vn+/jucc6oE9ziX9p5qXp4/3E5xRT76Zs6cdrGNDttY 0sY970Y39rARwSEn7TYiMPmaMOiRT621w4CJ6botavkXZOSqgDLl1Z9xNrYm36puQo7j 9vww== 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=DuxPg4nCFSXhI6FmSSzfWuLIV3LM2qPlP450naWgxmI=; b=psCZGb9GxM/jdt1Zx6DQMCxeCfIG7Dtoflz6+WJV/NneLO1Kz6Xn9g+ojklxAKolof CYAREp5n6YZJGdC9nq4vAAYhnDhLo4Zw+EvX3ylh9rbd8y5gQLh/+r6nZOj2ctTCHWiy TxBD7m7t6qdvaN/YbrXOPXG9n6muAX8gg1Tl4nbvwnASNmAb+MVLmrmKkcLmaXIrRh1K KExOY5vEnTEC8II2HDDm3XSZXNOlPdbg/JtlQZiiZU0YmYfuIcmr3LGSkL0kYvEsJh7/ RWan+7HyIX1vLT09rCHGAQZROqBFaeU6JulOzjl3E90sW+i+Rv4nEh2qSV8DqIZs2vjq MknA== 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 bt12-20020a0564020a4c00b0043c7ceb229asi5879039edb.207.2022.08.08.08.13.53; Mon, 08 Aug 2022 08:14:21 -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 S236080AbiHHPGQ (ORCPT + 99 others); Mon, 8 Aug 2022 11:06:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234034AbiHHPGP (ORCPT ); Mon, 8 Aug 2022 11:06:15 -0400 Received: from bg5.exmail.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 310D2FF9 for ; Mon, 8 Aug 2022 08:06:12 -0700 (PDT) X-QQ-mid: bizesmtp70t1659971164tpy5v4k0 Received: from harry-jrlc.. ( [182.148.14.53]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 08 Aug 2022 23:05:44 +0800 (CST) X-QQ-SSF: 0100000000200030C000B00A0000020 X-QQ-FEAT: RLrSOnjbvYHQT9W7jQ2E2lkwAXoPLOCWCJqpHnB1PX4tx/G3aaeVw4KNd1sD+ CjssKkLIi8GbwZlobZmztKjerTbb1aFBcEKEHVpKOqK1r+rqnPqTajG9iuDtsyVnH3ocp7k Xvnj6uP2BOjNSHbvV3KV2msprzByouHFl1ZWf8ev+GD4wl+/wBB9iQHLwXlRQMt4XO2+vlj fbUSUDX9JxU0dPD21U7pb1I4OrqJHRSlIr3EUInOPwyLpRAV11I47kP0ELeIg0VyXyNDyKJ uR8cLP+jboeDOaTrY1JdAW4XNnS85bEysvDxf+Wg56zKrZ/19wFh0L+/aF3bYUSHxvbyHes 8z2MsIWN3ZMjePZflsyk3BY2bzsZ6ywnDVw21ykwaRJUXI/K0nlI1l/z6dckg== 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] ringtest: Variable type completion Date: Mon, 8 Aug 2022 23:05:42 +0800 Message-Id: <20220808150542.58937-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_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao --- 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..01ed3ced4533 100644 --- a/tools/virtio/ringtest/main.c +++ b/tools/virtio/ringtest/main.c @@ -26,7 +26,7 @@ bool do_sleep = false; bool do_relax = false; bool do_exit = true; -unsigned ring_size = 256; +unsigned int ring_size = 256; static int kickfd = -1; static int callfd = -1; -- 2.30.2