From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E7A443922 for ; Mon, 22 Jan 2024 05:02:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 974A342DC7; Mon, 22 Jan 2024 05:02:23 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 39D4142DD1 for ; Mon, 22 Jan 2024 05:02:22 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 28EA3122B9C; Mon, 22 Jan 2024 05:02:22 +0100 (CET) Subject: |WARNING| pw136018 [PATCH 01/12] eal: introduce more macro for bit definition In-Reply-To: <20240122035802.31491-2-fengchengwen@huawei.com> References: <20240122035802.31491-2-fengchengwen@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chengwen Feng Message-Id: <20240122040222.28EA3122B9C@dpdk.org> Date: Mon, 22 Jan 2024 05:02:22 +0100 (CET) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/136018 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #123: FILE: lib/eal/include/rte_bitops.h:92: +#define RTE_FIELD_GET64(mask, reg) \ + (typeof(mask))(((reg) & (mask)) >> rte_ctz64(mask)) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #134: FILE: lib/eal/include/rte_bitops.h:103: +#define RTE_FIELD_GET32(mask, reg) \ + (typeof(mask))(((reg) & (mask)) >> rte_ctz32(mask)) total: 2 errors, 0 warnings, 70 lines checked