From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F28A3A046B for ; Mon, 22 Jul 2019 18:24:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D50401BF2F; Mon, 22 Jul 2019 18:24:12 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id B31E41BF37; Mon, 22 Jul 2019 18:24:11 +0200 (CEST) In-Reply-To: <1563812554-7061-1-git-send-email-phil.yang@arm.com> References: <1563812554-7061-1-git-send-email-phil.yang@arm.com> To: test-report@dpdk.org Cc: Phil Yang Message-Id: <20190722162411.B31E41BF37@dpdk.org> Date: Mon, 22 Jul 2019 18:24:11 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56917 [PATCH v6 1/3] eal/arm64: add 128-bit atomic compare exchange 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: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/56917 _coding style issues_ WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations #157: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:65: + */ \ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #180: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:88: +#define __ATOMIC128_LDX_OP(ldx_op_name, op_string) \ +static inline rte_int128_t \ +ldx_op_name(const rte_int128_t *src) \ +{ \ + rte_int128_t ret; \ + asm volatile( \ + op_string " %0, %1, %2" \ + : "=&r" (ret.val[0]), \ + "=&r" (ret.val[1]) \ + : "Q" (src->val[0]) \ + : "memory"); \ + return ret; \ +} WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #197: FILE: lib/librte_eal/common/include/arch/arm/rte_atomic_64.h:105: +#define __ATOMIC128_STX_OP(stx_op_name, op_string) \ +static inline uint32_t \ +stx_op_name(rte_int128_t *dst, const rte_int128_t src) \ +{ \ + uint32_t ret; \ + asm volatile( \ + op_string " %w0, %1, %2, %3" \ + : "=&r" (ret) \ + : "r" (src.val[0]), \ + "r" (src.val[1]), \ + "Q" (dst->val[0]) \ + : "memory"); \ + /* Return 0 on success, 1 on failure */ \ + return ret; \ +} total: 0 errors, 3 warnings, 258 lines checked __rte_experimental must appear alone on the line immediately preceding the return type of a function.