[dpdk-test-report] |WARNING| pw32664 [PATCH 06/14] net/sfc/base: add function to create packed stream RxQ

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Dec 24 11:48:38 CET 2017


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

_coding style issues_


WARNING:TYPO_SPELLING: 'paramters' may be misspelled - perhaps 'parameters'?
#19: 
applicable paramters.

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'ps_buf_size != MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M'
#128: FILE: drivers/net/sfc/base/ef10_rx.c:1024:
+		if ((ps_buf_size != MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M) &&
 		    (encp->enc_rx_var_packed_stream_supported == B_FALSE)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'encp->enc_rx_var_packed_stream_supported == B_FALSE'
#128: FILE: drivers/net/sfc/base/ef10_rx.c:1024:
+		if ((ps_buf_size != MC_CMD_INIT_RXQ_EXT_IN_PS_BUFF_1M) &&
 		    (encp->enc_rx_var_packed_stream_supported == B_FALSE)) {

CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#197: FILE: drivers/net/sfc/base/efx.h:2037:
+extern	__checkReturn	efx_rc_t

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#260: FILE: drivers/net/sfc/base/efx_rx.c:650:
+	if ((rc = erxop->erxo_qcreate(enp, index, label, type, type_data, esmp,

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


More information about the test-report mailing list