From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 58B267CC6; Mon, 10 Jul 2017 17:08:04 +0200 (CEST) In-Reply-To: <39f84ba65c0b3489e063a3697beadd86431bd568.1499564333.git.gaetan.rivet@6wind.com> References: <39f84ba65c0b3489e063a3697beadd86431bd568.1499564333.git.gaetan.rivet@6wind.com> To: test-report@dpdk.org Cc: Gaetan Rivet Message-Id: <20170710150804.58B267CC6@dpdk.org> Date: Mon, 10 Jul 2017 17:08:04 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw26678 [PATCH v7 09/11] 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, 10 Jul 2017 15:08:04 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/26678 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects? #433: FILE: drivers/net/failsafe/failsafe_private.h:267: +#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? #441: FILE: drivers/net/failsafe/failsafe_private.h:275: +#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, 476 lines checked