|WARNING| pw135163 [PATCH v3 28/37] raw/cnxk_gpio: replace PMD logtype with dynamic type
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Dec 13 17:43:19 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/135163
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#229: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:59:
+#define CNXK_GPIO_ERR_STR(err, str, ...) do { \
+ if (err) { \
+ CNXK_LOG(ERR, "%s:%d: " str " (%d)",__func__, __LINE__, \
+ ##__VA_ARGS__, err); \
+ goto out; \
+ } \
} while (0)
ERROR:SPACING: space required after that ',' (ctx:VxV)
#231: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:61:
+ CNXK_LOG(ERR, "%s:%d: " str " (%d)",__func__, __LINE__, \
^
total: 1 errors, 1 warnings, 169 lines checked
More information about the test-report
mailing list