From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 2053C1B290; Fri, 17 Nov 2017 11:02:55 +0100 (CET) In-Reply-To: <1510912024-56215-1-git-send-email-wei.dai@intel.com> References: <1510912024-56215-1-git-send-email-wei.dai@intel.com> To: test-report@dpdk.org Cc: Wei Dai Message-Id: <20171117100255.2053C1B290@dpdk.org> Date: Fri, 17 Nov 2017 11:02:55 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw31450 [PATCH] net/i40e: determine number of queues per VF during run time 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, 17 Nov 2017 10:02:55 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/31450 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects? #59: FILE: drivers/net/i40e/i40e_ethdev.c:3978: +#define IS_POWER_OF_2(n) (n && !(n & (n - 1))) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'errno != 0' #97: FILE: drivers/net/i40e/i40e_ethdev.c:4016: + if ((errno != 0) || (end == pv)) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'end == pv' #97: FILE: drivers/net/i40e/i40e_ethdev.c:4016: + if ((errno != 0) || (end == pv)) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'value <= 16' #99: FILE: drivers/net/i40e/i40e_ethdev.c:4018: + if ((value <= 16) && (IS_POWER_OF_2(value))) total: 0 errors, 0 warnings, 4 checks, 99 lines checked