From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 853F2A04B1 for ; Wed, 9 Sep 2020 01:28:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8098C1BE85; Wed, 9 Sep 2020 01:28:28 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id B99D91BEAC; Wed, 9 Sep 2020 01:28:26 +0200 (CEST) In-Reply-To: <20200901115113.1529675-28-jiawenwu@trustnetic.com> References: <20200901115113.1529675-28-jiawenwu@trustnetic.com> To: test-report@dpdk.org Cc: Jiawen Wu Message-Id: <20200908232826.B99D91BEAC@dpdk.org> Date: Wed, 9 Sep 2020 01:28:26 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw76230 [PATCH v1 28/42] net/txgbe: add device xstats get X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/76230 _coding style issues_ WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #303: FILE: drivers/net/txgbe/txgbe_ethdev.c:1275: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #306: FILE: drivers/net/txgbe/txgbe_ethdev.c:1278: + if (xstats_names == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #332: FILE: drivers/net/txgbe/txgbe_ethdev.c:1304: + unsigned i; WARNING:BRACES: braces {} are not necessary for single statement blocks #334: FILE: drivers/net/txgbe/txgbe_ethdev.c:1306: + if (ids == NULL) { + return txgbe_dev_xstats_get_names(dev, xstats_names, limit); + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #351: FILE: drivers/net/txgbe/txgbe_ethdev.c:1323: + unsigned limit) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #355: FILE: drivers/net/txgbe/txgbe_ethdev.c:1327: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #363: FILE: drivers/net/txgbe/txgbe_ethdev.c:1335: + if (xstats == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #386: FILE: drivers/net/txgbe/txgbe_ethdev.c:1358: + unsigned limit) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #390: FILE: drivers/net/txgbe/txgbe_ethdev.c:1362: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #398: FILE: drivers/net/txgbe/txgbe_ethdev.c:1370: + if (values == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #423: FILE: drivers/net/txgbe/txgbe_ethdev.c:1395: + unsigned i; WARNING:BRACES: braces {} are not necessary for single statement blocks #425: FILE: drivers/net/txgbe/txgbe_ethdev.c:1397: + if (ids == NULL) { + return txgbe_dev_xstats_get_(dev, values, limit); + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #486: FILE: drivers/net/txgbe/txgbe_ethdev.h:180: + unsigned offset; total: 0 errors, 13 warnings, 0 checks, 414 lines checked