From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id A7F8C7D52; Fri, 19 Oct 2018 11:25:27 +0200 (CEST) In-Reply-To: <20181012144055.9461-4-g.singh@nxp.com> References: <20181012144055.9461-4-g.singh@nxp.com> To: test-report@dpdk.org Cc: Gagandeep Singh Message-Id: <20181019092527.A7F8C7D52@dpdk.org> Date: Fri, 19 Oct 2018 11:25:27 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw46752 [v2, 03/14] crypto/caam_jr: add routines to configure HW 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, 19 Oct 2018 09:25:27 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/46752 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #488: FILE: drivers/crypto/caam_jr/caam_jr_hw_specific.h:33: +#define SEC_ASSERT(cond, altRet, ...) do {\ + if (unlikely(!(cond))) {\ + CAAM_JR_ERR(__VA_ARGS__); \ + return altRet; \ + } \ +} while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #495: FILE: drivers/crypto/caam_jr/caam_jr_hw_specific.h:40: +#define SEC_DP_ASSERT(cond, altRet, ...) do {\ + if (unlikely(!(cond))) {\ + CAAM_JR_DP_ERR(__VA_ARGS__); \ + return altRet; \ + } \ +} while (0) total: 0 errors, 2 warnings, 1200 lines checked