From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 6E84F5905; Fri, 7 Jul 2017 02:16:57 +0200 (CEST) In-Reply-To: References: To: test-report@dpdk.org Cc: Gaetan Rivet Message-Id: <20170707001657.6E84F5905@dpdk.org> Date: Fri, 7 Jul 2017 02:16:57 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw26616 [PATCH v6 20/22] 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: Fri, 07 Jul 2017 00:16:58 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/26616 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 's' - possible side-effects? #432: 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? #440: 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