From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7728346491
	for <public@inbox.dpdk.org>; Thu, 27 Mar 2025 10:14:16 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 71D4A4066C;
	Thu, 27 Mar 2025 10:14:16 +0100 (CET)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id F11ED40275
 for <test-report@dpdk.org>; Thu, 27 Mar 2025 10:14:14 +0100 (CET)
Received: by dpdk.org (Postfix, from userid 65534)
 id 419EA123E9B; Thu, 27 Mar 2025 10:13:52 +0100 (CET)
Subject: |WARNING| pw152597 [PATCH v4] raw/cnxk_gpio: switch to character
 based GPIO interface
In-Reply-To: <20250327091222.2472797-1-tduszynski@marvell.com>
References: <20250327091222.2472797-1-tduszynski@marvell.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Tomasz Duszynski <tduszynski@marvell.com>
Message-Id: <20250327091352.419EA123E9B@dpdk.org>
Date: Thu, 27 Mar 2025 10:13:52 +0100 (CET)
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/152597

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1357: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:19:
+#define CNXK_GPIO_ERR_STR(err, str, ...) do {                                                      \
+	if (err) {                                                                                 \
+		CNXK_GPIO_LOG(ERR, "%s:%d: " str " (%d)", __func__, __LINE__, ##__VA_ARGS__, err); \
+		goto out;                                                                          \
+	}                                                                                          \
 } while (0)

total: 0 errors, 1 warnings, 1419 lines checked