From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id E08D04C76; Wed, 28 Mar 2018 11:28:10 +0200 (CEST) In-Reply-To: <1522229396-17898-7-git-send-email-rosen.xu@intel.com> References: <1522229396-17898-7-git-send-email-rosen.xu@intel.com> To: test-report@dpdk.org Cc: Rosen Xu Message-Id: <20180328092810.E08D04C76@dpdk.org> Date: Wed, 28 Mar 2018 11:28:10 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw36610 [PATCH v3 6/6] drivers/raw/ifpga_rawdev: 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: Wed, 28 Mar 2018 09:28:11 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/36610 _coding style issues_ WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #9296: FILE: drivers/raw/ifpga_rawdev/base/opae_osdep.h:90: +#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() #9302: FILE: drivers/raw/ifpga_rawdev/base/opae_osdep.h:96: +#define BUG_ON(x) ASSERT(!(x)) WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop #9358: 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, 9276 lines checked