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 278C645E7C for ; Wed, 11 Dec 2024 23:10:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23C6E402D6; Wed, 11 Dec 2024 23:10:38 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 05DE44026E for ; Wed, 11 Dec 2024 23:10:37 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 891A1121F12; Wed, 11 Dec 2024 23:10:32 +0100 (CET) Subject: |WARNING| pw149196 [PATCH v2 12/14] drivers/net: use portable variadic macros In-Reply-To: <1733954844-24397-13-git-send-email-andremue@linux.microsoft.com> References: <1733954844-24397-13-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20241211221032.891A1121F12@dpdk.org> Date: Wed, 11 Dec 2024 23:10:32 +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/149196 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects? #724: 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? #735: 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, 555 lines checked