[dpdk-test-report] |WARNING| pw72888 [PATCH v4 22/51] net/bnxt: support EM and TCAM lookup with table scope

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jul 3 01:33:45 CEST 2020


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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#2622: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:50:
+extern void *eem_db[TF_DIR_MAX];

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#2638: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:66:
+				    "No mapping for page: %d table: %016" PRIu64 "
",

WARNING:LONG_LINE: line over 90 characters
#3366: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:794:
+	mask = tf_em_get_key_mask(tbl_scope_cb->em_ctx_info[parms->dir].em_tables[TF_KEY0_TABLE].num_entries);

total: 0 errors, 2 warnings, 1 checks, 6666 lines checked


More information about the test-report mailing list