From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 121E3CFA0; Sun, 19 Mar 2017 11:10:38 +0100 (CET) In-Reply-To: <1489820786-14226-37-git-send-email-rasesh.mody@cavium.com> References: <1489820786-14226-37-git-send-email-rasesh.mody@cavium.com> To: test-report@dpdk.org Cc: "Mody, Rasesh" Message-Id: <20170319101038.121E3CFA0@dpdk.org> Date: Sun, 19 Mar 2017 11:10:38 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw21970 [PATCH v2 36/61] 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: Sun, 19 Mar 2017 10:10:38 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/21970 _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