From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id EC1BC324D; Sat, 31 Mar 2018 18:02:11 +0200 (CEST) In-Reply-To: <1522512182-182441-4-git-send-email-rosen.xu@intel.com> References: <1522512182-182441-4-git-send-email-rosen.xu@intel.com> To: test-report@dpdk.org Cc: Rosen Xu Message-Id: <20180331160211.EC1BC324D@dpdk.org> Date: Sat, 31 Mar 2018 18:02:11 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw36812 [PATCH v4 3/3] Add Intel FPGA OPAE Share Code 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: Sat, 31 Mar 2018 16:02:12 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/36812 _coding style issues_ WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #8939: FILE: drivers/raw/ifpga_rawdev/base/opae_osdep.h:94: +#define BUG() pr_err("BUG at %s:%d", __func__, __LINE__) WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #8945: FILE: drivers/raw/ifpga_rawdev/base/opae_osdep.h:100: +#define BUG_ON(x) ASSERT(!(x)) WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop #9001: FILE: drivers/raw/ifpga_rawdev/base/osdep_raw/osdep_generic.h:35: +#define compiler_barrier() do { \ + asm volatile ("" : : : "memory"); \ +} while (0) total: 0 errors, 3 warnings, 8919 lines checked