|WARNING| pw152597 [PATCH v4] raw/cnxk_gpio: switch to character based GPIO interface

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 27 10:13:52 CET 2025


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


More information about the test-report mailing list