automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw71401 [PATCH 09/50] net/bnxt: add support for Exact Match
       [not found] <20200612132934.16488-10-somnath.kotur@broadcom.com>
@ 2020-06-12 13:39 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-06-12 13:39 UTC (permalink / raw)
  To: test-report; +Cc: Somnath Kotur

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

_coding style issues_


WARNING:TYPO_SPELLING: 'becuase' may be misspelled - perhaps 'because'?
#2312: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:16079:
+	/* Module is powered down becuase of over current fault. */

WARNING:TYPO_SPELLING: 'untill' may be misspelled - perhaps 'until'?
#2370: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:20981:
+	 * A 0xFFFF will hold the bus untill this bus is released.

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#4066: FILE: drivers/net/bnxt/tf_core/tf_core.c:414:
+	tbl_scope_cb = tbl_scope_cb_find(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#4098: FILE: drivers/net/bnxt/tf_core/tf_core.c:449:
+	tbl_scope_cb = tbl_scope_cb_find(

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#4878: FILE: drivers/net/bnxt/tf_core/tf_ext_flow_handle.h:93:
+#define TF_GET_NUM_KEY_ENTRIES_FROM_FLOW_HANDLE(flow_handle,		\
+					  num_key_entries)		\
+do {									\
+	num_key_entries =						\
+		(((flow_handle) & TF_NUM_KEY_ENTRIES_FLOW_HANDLE_MASK) >> \
+		     TF_NUM_KEY_ENTRIES_FLOW_HANDLE_SFT);		\
+} while (0)

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#4886: FILE: drivers/net/bnxt/tf_core/tf_ext_flow_handle.h:101:
+#define TF_GET_ENTRY_NUM_FROM_FLOW_HANDLE(flow_handle,		\
+					  entry_num)		\
+do {									\
+	entry_num =						\
+		(((flow_handle) & TF_ENTRY_NUM_FLOW_HANDLE_MASK) >> \
+		     TF_ENTRY_NUM_FLOW_HANDLE_SFT);		\
+} while (0)

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5094: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:731:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[RECORD_TABLE].num_entries
+		= parms->rx_num_flows_in_k * TF_KILOBYTE;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5096: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:733:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[RECORD_TABLE].entry_size
+		= parms->rx_max_action_entry_sz_in_bits / 8;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5101: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:736:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[EFC_TABLE].num_entries
+		= 0;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5114: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:750:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[RECORD_TABLE].num_entries
+		= parms->tx_num_flows_in_k * TF_KILOBYTE;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5116: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:752:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[RECORD_TABLE].entry_size
+		= parms->tx_max_action_entry_sz_in_bits / 8;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#5121: FILE: drivers/net/bnxt/tf_core/tf_tbl.c:755:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[EFC_TABLE].num_entries
+		= 0;

total: 0 errors, 4 warnings, 8 checks, 5239 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-12 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200612132934.16488-10-somnath.kotur@broadcom.com>
2020-06-12 13:39 ` [dpdk-test-report] |WARNING| pw71401 [PATCH 09/50] net/bnxt: add support for Exact Match checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).