[dpdk-test-report] |WARNING| pw55195 [PATCH v4 06/27] common/octeontx2: add mailbox send and receive support

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Jun 22 15:26:26 CEST 2019


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

_coding style issues_


ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#314: FILE: drivers/common/octeontx2/otx2_mbox.c:397:
+#define M(_name, _id, _1, _2, _3) case _id: return # _name;

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#314: FILE: drivers/common/octeontx2/otx2_mbox.c:397:
+#define M(_name, _id, _1, _2, _3) case _id: return # _name;

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#314: FILE: drivers/common/octeontx2/otx2_mbox.c:397:
+#define M(_name, _id, _1, _2, _3) case _id: return # _name;

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#326: FILE: drivers/common/octeontx2/otx2_mbox.c:409:
+#define M(_1, _id, _2, _req_type, _3) case _id: return sizeof(struct _req_type);

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#326: FILE: drivers/common/octeontx2/otx2_mbox.c:409:
+#define M(_1, _id, _2, _req_type, _3) case _id: return sizeof(struct _req_type);

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#326: FILE: drivers/common/octeontx2/otx2_mbox.c:409:
+#define M(_1, _id, _2, _req_type, _3) case _id: return sizeof(struct _req_type);

total: 2 errors, 4 warnings, 450 lines checked
ERROR: symbol otx2_mbox_alloc_msg_rsp is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol otx2_mbox_get_rsp is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol otx2_mbox_get_rsp_tmo is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol otx2_mbox_id2name is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol otx2_mbox_msg_send is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol otx2_mbox_wait_for_rsp is added in the DPDK_19.08 section, but is expected to be added in the EXPERIMENTAL section of the version map


More information about the test-report mailing list