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 7D1D1A2EFC for ; Tue, 15 Oct 2019 17:48:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFFDF1ED8D; Tue, 15 Oct 2019 17:47:57 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 7242B1ED2A; Tue, 15 Oct 2019 17:47:40 +0200 (CEST) In-Reply-To: <1571125801-45773-4-git-send-email-joyce.kong@arm.com> References: <1571125801-45773-4-git-send-email-joyce.kong@arm.com> To: test-report@dpdk.org Cc: Joyce Kong Message-Id: <20191015154740.7242B1ED2A@dpdk.org> Date: Tue, 15 Oct 2019 17:47:40 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw61188 [PATCH v1 3/5] net/bnx2x: use common rte bit operation APIs instead 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/61188 _coding style issues_ WARNING:BRACES: braces {} are not necessary for any arm of this statement #232: FILE: drivers/net/bnx2x/bnx2x.c:1843: + if (rte_test_bit(ECORE_FILTER_RX_MODE_PENDING, &sc->sp_state)) { [...] } else { [...] WARNING:BRACES: braces {} are not necessary for single statement blocks #289: FILE: drivers/net/bnx2x/bnx2x.c:4299: + if (rte_test_and_clear_bit(ECORE_FILTER_RX_MODE_SCHED, &sc->sp_state)) { bnx2x_set_storm_rx_mode(sc); } total: 0 errors, 2 warnings, 0 checks, 510 lines checked