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 62848468D4 for ; Wed, 11 Jun 2025 11:47:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CAAB40652; Wed, 11 Jun 2025 11:47:01 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C317B40655 for ; Wed, 11 Jun 2025 11:46:59 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id C79B512527C; Wed, 11 Jun 2025 11:46:03 +0200 (CEST) Subject: |WARNING| pw154323 [PATCH v7 3/5] dev: export driver information with MSVC In-Reply-To: <20250611094532.1242167-4-david.marchand@redhat.com> References: <20250611094532.1242167-4-david.marchand@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: David Marchand Message-Id: <20250611094603.C79B512527C@dpdk.org> Date: Wed, 11 Jun 2025 11:46:03 +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/154323 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #141: FILE: lib/eal/include/dev_driver.h:34: +#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 #144: FILE: lib/eal/include/dev_driver.h:37: +#define RTE_PMD_EXPORT_SYMBOL(type, name) \ +__attribute__((used)) type name total: 2 errors, 0 warnings, 54 lines checked Warning in lib/eal/include/dev_driver.h: Using compiler attribute directly