|WARNING| pw172063 [PATCH v4 1/3] raw/ntb: validate vendor ops at probe
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Oct 26 09:56:40 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/172063
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#288: FILE: drivers/raw/ntb/ntb.c:1319:
+#define NTB_OPS_REQ(member) do { \
+ if (hw->ntb_ops->member == NULL) { \
+ NTB_LOG(ERR, "Vendor ops lacks mandatory ." #member); \
+ return -EINVAL; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 211 lines checked
More information about the test-report
mailing list