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 DF03AA04BB for ; Tue, 6 Oct 2020 11:43:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D78AD29C6; Tue, 6 Oct 2020 11:43:18 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 1408B2952; Tue, 6 Oct 2020 11:43:18 +0200 (CEST) In-Reply-To: <20201005120910.189343-35-jiawenwu@trustnetic.com> References: <20201005120910.189343-35-jiawenwu@trustnetic.com> To: test-report@dpdk.org Cc: Jiawen Wu Message-Id: <20201006094318.1408B2952@dpdk.org> Date: Tue, 6 Oct 2020 11:43:18 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw79650 [PATCH v2 34/56] 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/79650 _coding style issues_ WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #318: FILE: drivers/net/txgbe/txgbe_ethdev.c:1429: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #321: FILE: drivers/net/txgbe/txgbe_ethdev.c:1432: + if (xstats_names == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #347: FILE: drivers/net/txgbe/txgbe_ethdev.c:1458: + unsigned i; WARNING:BRACES: braces {} are not necessary for single statement blocks #349: FILE: drivers/net/txgbe/txgbe_ethdev.c:1460: + if (ids == NULL) { + return txgbe_dev_xstats_get_names(dev, xstats_names, limit); + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #366: FILE: drivers/net/txgbe/txgbe_ethdev.c:1477: + unsigned limit) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #370: FILE: drivers/net/txgbe/txgbe_ethdev.c:1481: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #378: FILE: drivers/net/txgbe/txgbe_ethdev.c:1489: + if (xstats == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #401: FILE: drivers/net/txgbe/txgbe_ethdev.c:1512: + unsigned limit) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #405: FILE: drivers/net/txgbe/txgbe_ethdev.c:1516: + unsigned i, count; WARNING:BRACES: braces {} are not necessary for single statement blocks #413: FILE: drivers/net/txgbe/txgbe_ethdev.c:1524: + if (values == NULL) { + return count; + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #438: FILE: drivers/net/txgbe/txgbe_ethdev.c:1549: + unsigned i; WARNING:BRACES: braces {} are not necessary for single statement blocks #440: FILE: drivers/net/txgbe/txgbe_ethdev.c:1551: + if (ids == NULL) { + return txgbe_dev_xstats_get_(dev, values, limit); + } WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #501: FILE: drivers/net/txgbe/txgbe_ethdev.h:190: + unsigned offset; total: 0 errors, 13 warnings, 0 checks, 421 lines checked