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 64A21A0352 for ; Mon, 4 Nov 2019 23:51:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 573B11F5; Mon, 4 Nov 2019 23:51:41 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 038142BBE; Mon, 4 Nov 2019 23:51:40 +0100 (CET) In-Reply-To: <20191104225026.97569-3-ajit.khaparde@broadcom.com> References: <20191104225026.97569-3-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20191104225140.038142BBE@dpdk.org> Date: Mon, 4 Nov 2019 23:51:40 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw62399 [PATCH v3 2/5] net/bnxt: fix redundant MAC address check 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/62399 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'filter' - possible side-effects? #319: FILE: drivers/net/bnxt/bnxt_filter.h:11: +#define bnxt_vlan_filter_exists(bp, filter, chk, vlan_id) \ + (((filter)->enables & (chk)) && \ + ((filter)->l2_ivlan == (vlan_id) && \ + (filter)->l2_ivlan_mask == 0x0FFF) && \ + !memcmp((filter)->l2_addr, (bp)->mac_addr, \ + RTE_ETHER_ADDR_LEN)) total: 0 errors, 0 warnings, 1 checks, 262 lines checked