From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 409461B76F; Fri, 14 Dec 2018 09:32:54 +0100 (CET) In-Reply-To: <1544776518-91047-15-git-send-email-wenzhuo.lu@intel.com> References: <1544776518-91047-15-git-send-email-wenzhuo.lu@intel.com> To: test-report@dpdk.org Cc: Wenzhuo Lu Message-Id: <20181214083254.409461B76F@dpdk.org> Date: Fri, 14 Dec 2018 09:32:54 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw48818 [v4, 14/32] net/ice/base: add structures for RX/TX queues 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, 14 Dec 2018 08:32:54 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/48818 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse '_struct' - possible side-effects? #830: FILE: drivers/net/ice/base/ice_lan_tx_rx.h:798: +#define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ + .offset = offsetof(struct _struct, _ele), \ + .size_of = FIELD_SIZEOF(struct _struct, _ele), \ + .width = _width, \ + .lsb = _lsb, \ +} CHECK:MACRO_ARG_REUSE: Macro argument reuse '_ele' - possible side-effects? #830: FILE: drivers/net/ice/base/ice_lan_tx_rx.h:798: +#define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ + .offset = offsetof(struct _struct, _ele), \ + .size_of = FIELD_SIZEOF(struct _struct, _ele), \ + .width = _width, \ + .lsb = _lsb, \ +} total: 0 errors, 0 warnings, 2 checks, 2291 lines checked