From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 25B6F4BE1; Fri, 16 Jun 2017 07:33:31 +0200 (CEST) In-Reply-To: <1497591668-3320-5-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-5-git-send-email-shreyansh.jain@nxp.com> To: test-report@dpdk.org Cc: Shreyansh Jain Message-Id: <20170616053331.25B6F4BE1@dpdk.org> Date: Fri, 16 Jun 2017 07:33:31 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw25370 [PATCH 04/38] bus/dpaa: add compatibility and helper macros 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, 16 Jun 2017 05:33:31 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/25370 _coding style issues_ WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #148: FILE: drivers/bus/dpaa/include/compat.h:114: +#define BUG_ON(x) ASSERT(!(x)) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #172: FILE: drivers/bus/dpaa/include/compat.h:138: +#define DEFINE_PER_CPU(t, x) __thread t per_cpu__##x WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #225: FILE: drivers/bus/dpaa/include/compat.h:191: + BUG_ON(!timeout && (ret != ret_new)); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #277: FILE: drivers/bus/dpaa/include/compat.h:243: + BUG_ON((unsigned long)dest & 0x3); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #278: FILE: drivers/bus/dpaa/include/compat.h:244: + BUG_ON((unsigned long)src & 0x3); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #279: FILE: drivers/bus/dpaa/include/compat.h:245: + BUG_ON(sz & 0x3); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #290: FILE: drivers/bus/dpaa/include/compat.h:256: + BUG_ON((unsigned long)dest & 0x1); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #291: FILE: drivers/bus/dpaa/include/compat.h:257: + BUG_ON((unsigned long)src & 0x1); WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #292: FILE: drivers/bus/dpaa/include/compat.h:258: + BUG_ON(sz & 0x1); total: 1 errors, 8 warnings, 496 lines checked