|WARNING| pw105645 [PATCH v4 10/11] raw/cnxk_gpio: support selftest

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 5 15:02:06 CET 2022


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#195: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:57:
+#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, 421 lines checked


More information about the test-report mailing list