From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 758087D29; Mon, 29 May 2017 15:44:11 +0200 (CEST) In-Reply-To: <4c08830ecc812443bada2dade0cebb95e7fa52c4.1496065002.git.gaetan.rivet@6wind.com> References: <4c08830ecc812443bada2dade0cebb95e7fa52c4.1496065002.git.gaetan.rivet@6wind.com> To: test-report@dpdk.org Cc: Gaetan Rivet Message-Id: <20170529134411.758087D29@dpdk.org> Date: Mon, 29 May 2017 15:44:11 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw24869 [PATCH v4 10/12] net/failsafe: support device removal 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: , X-List-Received-Date: Mon, 29 May 2017 13:44:11 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/24869 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects? #437: FILE: drivers/net/failsafe/failsafe_private.h:268: +#define FS_ATOMIC_RX(s, i) \ + rte_atomic64_read( \ + &((struct rxq *)((s)->fs_dev->data->rx_queues[i]))->refcnt[(s)->sid] \ + ) CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects? #445: FILE: drivers/net/failsafe/failsafe_private.h:276: +#define FS_ATOMIC_TX(s, i) \ + rte_atomic64_read( \ + &((struct txq *)((s)->fs_dev->data->tx_queues[i]))->refcnt[(s)->sid] \ + ) total: 0 errors, 0 warnings, 2 checks, 480 lines checked