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 8754A45E6F for ; Wed, 11 Dec 2024 03:09:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 839AC402EB; Wed, 11 Dec 2024 03:09:48 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id EA77C402DE for ; Wed, 11 Dec 2024 03:09:46 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 732D9121F12; Wed, 11 Dec 2024 03:09:43 +0100 (CET) Subject: |WARNING| pw149145 [PATCH 13/21] drivers/net: use portable variadic macros In-Reply-To: <1733882751-29598-14-git-send-email-andremue@linux.microsoft.com> References: <1733882751-29598-14-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20241211020943.732D9121F12@dpdk.org> Date: Wed, 11 Dec 2024 03:09:43 +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/149145 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects? #774: FILE: drivers/net/qede/qede_logs.h:62: +#define PMD_TX_LOG(level, q, fmt, ...) \ RTE_LOG(level, QEDE_DRIVER, "%s(): port=%u queue=%u " fmt " ", \ + __func__, (q)->port_id, (q)->queue_id, ## __VA_ARGS__) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects? #785: FILE: drivers/net/qede/qede_logs.h:70: +#define PMD_RX_LOG(level, q, fmt, ...) \ RTE_LOG(level, QEDE_DRIVER, "%s(): port=%u queue=%u " fmt " ", \ + __func__, (q)->port_id, (q)->queue_id, ## __VA_ARGS__) total: 0 errors, 0 warnings, 2 checks, 579 lines checked