[dpdk-test-report] |WARNING| pw78293 [PATCH 40/60] common/sfc_efx/base: add API to get Rx prefix information

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 10:59:06 CEST 2020


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

_coding style issues_


ERROR:OPEN_BRACE: that open brace { should be on the previous line
#141: FILE: drivers/common/sfc_efx/base/ef10_rx.c:578:
+		[EFX_RX_PREFIX_FIELD_RSS_HASH]			=
+		    { 0,  32, B_FALSE },

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#143: FILE: drivers/common/sfc_efx/base/ef10_rx.c:580:
+		[EFX_RX_PREFIX_FIELD_VLAN_STRIP_TCI]		=
+		    { 32, 16, B_TRUE },

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#145: FILE: drivers/common/sfc_efx/base/ef10_rx.c:582:
+		[EFX_RX_PREFIX_FIELD_INNER_VLAN_STRIP_TCI]	=
+		    { 48, 16, B_TRUE },

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#147: FILE: drivers/common/sfc_efx/base/ef10_rx.c:584:
+		[EFX_RX_PREFIX_FIELD_LENGTH]			=
+		    { 64, 16, B_FALSE },

ERROR:OPEN_BRACE: that open brace { should be on the previous line
#149: FILE: drivers/common/sfc_efx/base/ef10_rx.c:586:
+		[EFX_RX_PREFIX_FIELD_PARTIAL_TSTAMP]		=
+		    { 80, 32, B_FALSE },

WARNING:TYPO_SPELLING: 'endianess' may be misspelled - perhaps 'endianness'?
#293: FILE: drivers/common/sfc_efx/base/efx.h:2794:
+ * Location and endianess of a field in Rx prefix.

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#355: FILE: drivers/common/sfc_efx/base/efx_rx.c:1071:
+	return (0);

total: 6 errors, 1 warnings, 306 lines checked


More information about the test-report mailing list