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 56652468C7 for ; Tue, 10 Jun 2025 12:11:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51AD142E62; Tue, 10 Jun 2025 12:11:50 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 14ECC42E62 for ; Tue, 10 Jun 2025 12:11:49 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 460B112527C; Tue, 10 Jun 2025 12:10:54 +0200 (CEST) Subject: |WARNING| pw154274 [PATCH v6 2/4] dev: export driver information with MSVC In-Reply-To: <20250610100947.421877-3-david.marchand@redhat.com> References: <20250610100947.421877-3-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20250610101054.460B112527C@dpdk.org> Date: Tue, 10 Jun 2025 12:10:54 +0200 (CEST) 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/154274 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #441: FILE: lib/eal/include/dev_driver.h:36: +#define RTE_PMD_EXPORT_SYMBOL(type, name) \ +__pragma(comment(linker, "/include:" RTE_STR(name))) type name ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #444: FILE: lib/eal/include/dev_driver.h:39: +#define RTE_PMD_EXPORT_SYMBOL(type, name) \ +__attribute__((used)) type name total: 2 errors, 0 warnings, 215 lines checked Warning in lib/eal/include/dev_driver.h: Using compiler attribute directly