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 1FE0A46463
	for <public@inbox.dpdk.org>; Mon, 24 Mar 2025 09:29:47 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 1ABFD40677;
	Mon, 24 Mar 2025 09:29:47 +0100 (CET)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id AE54B40151
 for <test-report@dpdk.org>; Mon, 24 Mar 2025 09:29:45 +0100 (CET)
Received: by dpdk.org (Postfix, from userid 65534)
 id A15FA127189; Mon, 24 Mar 2025 09:29:26 +0100 (CET)
Subject: |WARNING| pw152531 [PATCH v2] raw/cnxk_gpio: switch to character
 based GPIO interface
In-Reply-To: <20250324082848.1361839-1-tduszynski@marvell.com>
References: <20250324082848.1361839-1-tduszynski@marvell.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Tomasz Duszynski <tduszynski@marvell.com>
Message-Id: <20250324082926.A15FA127189@dpdk.org>
Date: Mon, 24 Mar 2025 09:29:26 +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/152531

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1350: 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, 1415 lines checked