From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 7D62ACF68; Fri, 24 Mar 2017 10:43:12 +0100 (CET) In-Reply-To: <1490340531-11403-37-git-send-email-rasesh.mody@cavium.com> References: <1490340531-11403-37-git-send-email-rasesh.mody@cavium.com> To: test-report@dpdk.org Cc: "Mody, Rasesh" Message-Id: <20170324094312.7D62ACF68@dpdk.org> Date: Fri, 24 Mar 2017 10:43:12 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw22241 [PATCH v3 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: Fri, 24 Mar 2017 09:43:12 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/22241 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects? #37: 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