|WARNING| pw106024 [PATCH v5 10/11] raw/cnxk_gpio: support selftest

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 18 14:28:11 CET 2022


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#196: 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