From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 8F47F7D0E; Tue, 11 Jul 2017 01:21:04 +0200 (CEST) In-Reply-To: References: To: test-report@dpdk.org Cc: Gaetan Rivet Message-Id: <20170710232104.8F47F7D0E@dpdk.org> Date: Tue, 11 Jul 2017 01:21:04 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw26752 [PATCH v8 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 23:21:04 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/26752 _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