* |WARNING| pw135163 [PATCH v3 28/37] raw/cnxk_gpio: replace PMD logtype with dynamic type
[not found] <20231213163820.894987-29-stephen@networkplumber.org>
@ 2023-12-13 16:43 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-12-13 16:43 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
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
^ permalink raw reply [flat|nested] only message in thread