From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 9B9F1FBBB; Thu, 30 Mar 2017 02:10:57 +0200 (CEST) In-Reply-To: <1490819822-27267-37-git-send-email-rasesh.mody@cavium.com> References: <1490819822-27267-37-git-send-email-rasesh.mody@cavium.com> To: test-report@dpdk.org Cc: "Mody, Rasesh" Message-Id: <20170330001057.9B9F1FBBB@dpdk.org> Date: Thu, 30 Mar 2017 02:10:57 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw22802 [PATCH v5 36/62] net/qede/base: add API for using MFW resource lock 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: Thu, 30 Mar 2017 00:10:57 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/22802 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects? #36: FILE: drivers/net/qede/base/ecore.h:92: +#define ECORE_MFW_SET_FIELD(name, field, value) \ +do { \ + (name) &= ~((field ## _MASK) << (field ## _SHIFT)); \ + (name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK)); \ +} while (0) total: 0 errors, 0 warnings, 1 checks, 215 lines checked