|WARNING| pw152531 [PATCH v2] raw/cnxk_gpio: switch to character based GPIO interface

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Mar 24 09:29:26 CET 2025


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


More information about the test-report mailing list