From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC1CC43C89 for ; Mon, 11 Mar 2024 17:47:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6CFB4067B; Mon, 11 Mar 2024 17:47:48 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E0B384027C for ; Mon, 11 Mar 2024 17:47:46 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id C6FCA1223EF; Mon, 11 Mar 2024 17:47:46 +0100 (CET) Subject: |WARNING| pw138166 [PATCH] net/bnx2x: fix indentation In-Reply-To: <20240311163912.11229-1-stephen@networkplumber.org> References: <20240311163912.11229-1-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20240311164746.C6FCA1223EF@dpdk.org> Date: Mon, 11 Mar 2024 17:47:46 +0100 (CET) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/138166 _coding style issues_ WARNING:BRACES: braces {} are not necessary for single statement blocks #109: FILE: drivers/net/bnx2x/bnx2x_stats.c:494: + if (IS_VF(sc)) { + return; + } WARNING:BRACES: braces {} are not necessary for any arm of this statement #116: FILE: drivers/net/bnx2x/bnx2x_stats.c:498: + if (sc->port.pmf) { [...] - else if (sc->func_stx) { [...] WARNING:BRACES: braces {} are not necessary for single statement blocks #123: FILE: drivers/net/bnx2x/bnx2x_stats.c:502: + else if (sc->func_stx) { + bnx2x_func_stats_init(sc); + } CHECK:CAMELCASE: Avoid CamelCase: #223: FILE: drivers/net/bnx2x/bnx2x_stats.c:1376: + cur_query_entry->funcID = htole16(SC_FUNC(sc)); total: 0 errors, 3 warnings, 1 checks, 230 lines checked