From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 84ABF7CB9; Wed, 5 Jul 2017 02:10:19 +0200 (CEST) In-Reply-To: <1499179471-19145-6-git-send-email-shreyansh.jain@nxp.com> References: <1499179471-19145-6-git-send-email-shreyansh.jain@nxp.com> To: test-report@dpdk.org Cc: Shreyansh Jain Message-Id: <20170705001019.84ABF7CB9@dpdk.org> Date: Wed, 5 Jul 2017 02:10:19 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw26390 [PATCH v2 05/40] bus/dpaa: introducing FMan configurations 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: Wed, 05 Jul 2017 00:10:19 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/26390 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1226: FILE: drivers/bus/dpaa/include/fman.h:416: +#define ETH_MAC_PRINTF_ARGS(a) \ + (a)->addr_bytes[0], (a)->addr_bytes[1], \ + (a)->addr_bytes[2], (a)->addr_bytes[3], \ + (a)->addr_bytes[4], (a)->addr_bytes[5] WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #1243: FILE: drivers/bus/dpaa/include/fman.h:433: +#define FMAN_ERR(cond, rc, fmt, args...) \ + do { \ + if (unlikely(cond)) { \ + _errno = (rc); \ + DPAA_BUS_LOG(ERR, fmt "(%d)", ##args, errno); \ + goto err; \ + } \ + } while (0) total: 1 errors, 1 warnings, 1321 lines checked