|WARNING| pw104429 [PATCH 10/10] raw/cnxk_gpio: support selftest

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 17 01:24:38 CET 2021


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

_coding style issues_


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

total: 0 errors, 1 warnings, 477 lines checked


More information about the test-report mailing list