[dpdk-test-report] |WARNING| pw74314 [PATCH 14/14] net/bnxt: add debug logs to the TF-ULP layer

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 17 11:57:14 CEST 2020


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#1118: FILE: drivers/net/bnxt/tf_ulp/ulp_template_debug.c:579:
+	BNXT_TF_DBG(DEBUG, "FlowHdl=0x%016" PRIx64 " FlowID=0x%016" PRIx64 "
",

ERROR:C99_COMMENTS: do not use C99 // comments
#1579: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:26:
+#if 0 // def TF_EEM_DEBUG

WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#1579: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:26:
+#if 0 // def TF_EEM_DEBUG

ERROR:C99_COMMENTS: do not use C99 // comments
#1626: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:73:
+#if 0 //def TF_EEM_DUMP

WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#1626: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:73:
+#if 0 //def TF_EEM_DUMP

WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif
#2545: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:992:
+#if 0

ERROR:C99_COMMENTS: do not use C99 // comments
#2655: FILE: drivers/net/bnxt/tf_ulp/ulp_tf_debug.c:1102:
+	//tf_dump_tables(&bp->tfp, tbl_scope_id);

total: 3 errors, 3 warnings, 1 checks, 2578 lines checked


More information about the test-report mailing list