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 2D5AC46191 for ; Tue, 4 Feb 2025 20:49:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2860C40261; Tue, 4 Feb 2025 20:49:19 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 771A74025F for ; Tue, 4 Feb 2025 20:49:17 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 3CC1B126FF4; Tue, 4 Feb 2025 20:48:08 +0100 (CET) Subject: |WARNING| pw150902 [PATCH v2] eal: force compilation of RTE_ASSERT expression In-Reply-To: <20250204194759.723484-1-stephen@networkplumber.org> References: <20250204194759.723484-1-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20250204194808.3CC1B126FF4@dpdk.org> Date: Tue, 4 Feb 2025 20:48:08 +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/150902 _coding style issues_ WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop #119: FILE: lib/eal/include/rte_debug.h:54: +#define RTE_ASSERT(exp) do { \ + (void)sizeof((exp) ? 1 : 0); \ +} while (0) total: 0 errors, 1 warnings, 17 lines checked