|WARNING| pw148487 [PATCH v2 2/2] common/cnxk: add mailbox debug trace

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 14 10:33:29 CET 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'SND' may be misspelled - perhaps 'SEND'?
#269: FILE: drivers/common/cnxk/roc_dev.c:574:
+		roc_trace_mbox_process("PFVF_SND_UPMSG", mbox_id2name(msg->hdr.id), 1,

WARNING:TYPO_SPELLING: 'SND' may be misspelled - perhaps 'SEND'?
#401: FILE: drivers/common/cnxk/roc_mbox.c:323:
+	mbox_debug_region("SND_MSG", mbox, devid, intr_val, 0);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#513: FILE: drivers/common/cnxk/roc_platform.h:392:
+		RTE_TRACE_POINT_ARGS(const char *func, const char *msg, uint16_t pcifunc, int data,
+				     uint16_t cookie),
+		rte_trace_point_emit_string(func);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#520: FILE: drivers/common/cnxk/roc_platform.h:399:
+		RTE_TRACE_POINT_ARGS(const char *func, const char *msg, uint16_t num_msgs,
+				     uint16_t pcifunc),
+		rte_trace_point_emit_string(func);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#527: FILE: drivers/common/cnxk/roc_platform.h:406:
+		RTE_TRACE_POINT_ARGS(const char *func, int pcifunc, uint64_t intr,
+				     uint64_t mbox_data),
+		rte_trace_point_emit_string(func);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#534: FILE: drivers/common/cnxk/roc_platform.h:413:
+		RTE_TRACE_POINT_ARGS(const char *func, uint16_t from_vf, uint16_t pcifunc),
+		rte_trace_point_emit_string(func);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#539: FILE: drivers/common/cnxk/roc_platform.h:418:
+		RTE_TRACE_POINT_ARGS(const char *ops, uint16_t pcifunc, int data),
+		rte_trace_point_emit_string(ops);

WARNING:SUSPECT_COMMA_SEMICOLON: Possible comma where semicolon could be used
#544: FILE: drivers/common/cnxk/roc_platform.h:423:
+		RTE_TRACE_POINT_ARGS(const char *func, const char *msg, int data),
+		rte_trace_point_emit_string(func);

total: 0 errors, 8 warnings, 441 lines checked
Warning in drivers/common/cnxk/roc_platform.c:
Warning in drivers/common/cnxk/roc_platform.h:
Use plt_ symbols instead of rte_ API in cnxk base driver


More information about the test-report mailing list