|WARNING| pw139869 [RFC v7 3/6] eal: add exactly-once bit access functions

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 6 20:53:10 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'?
#191: FILE: lib/eal/include/rte_bitops.h:245:
+ * ndcode

WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'?
#200: FILE: lib/eal/include/rte_bitops.h:254:
+ * ndcode

WARNING:TYPO_SPELLING: 'endcode' may be misspelled - perhaps 'encode'?
#210: FILE: lib/eal/include/rte_bitops.h:264:
+ * ndcode

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#230: FILE: lib/eal/include/rte_bitops.h:284:
+		uint32_t *: __rte_bit_once_test32,			\
 		         ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#230: FILE: lib/eal/include/rte_bitops.h:284:
+		uint32_t *: __rte_bit_once_test32,			\
 		          ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#231: FILE: lib/eal/include/rte_bitops.h:285:
+		const uint32_t *: __rte_bit_once_test32,		\
 		               ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#231: FILE: lib/eal/include/rte_bitops.h:285:
+		const uint32_t *: __rte_bit_once_test32,		\
 		                ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#232: FILE: lib/eal/include/rte_bitops.h:286:
+		uint64_t *: __rte_bit_once_test64,			\
 		         ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#232: FILE: lib/eal/include/rte_bitops.h:286:
+		uint64_t *: __rte_bit_once_test64,			\
 		          ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#233: FILE: lib/eal/include/rte_bitops.h:287:
+		const uint64_t *: __rte_bit_once_test64)(addr, nr)
 		               ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#233: FILE: lib/eal/include/rte_bitops.h:287:
+		const uint64_t *: __rte_bit_once_test64)(addr, nr)
 		                ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#262: FILE: lib/eal/include/rte_bitops.h:316:
+		 uint32_t *: __rte_bit_once_set32,		\
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#262: FILE: lib/eal/include/rte_bitops.h:316:
+		 uint32_t *: __rte_bit_once_set32,		\
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#263: FILE: lib/eal/include/rte_bitops.h:317:
+		 uint64_t *: __rte_bit_once_set64)(addr, nr)
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#263: FILE: lib/eal/include/rte_bitops.h:317:
+		 uint64_t *: __rte_bit_once_set64)(addr, nr)
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#290: FILE: lib/eal/include/rte_bitops.h:344:
+		 uint32_t *: __rte_bit_once_clear32,		\
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#290: FILE: lib/eal/include/rte_bitops.h:344:
+		 uint32_t *: __rte_bit_once_clear32,		\
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#291: FILE: lib/eal/include/rte_bitops.h:345:
+		 uint64_t *: __rte_bit_once_clear64)(addr, nr)
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#291: FILE: lib/eal/include/rte_bitops.h:345:
+		 uint64_t *: __rte_bit_once_clear64)(addr, nr)
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#319: FILE: lib/eal/include/rte_bitops.h:373:
+		 uint32_t *: __rte_bit_once_assign32,			\
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#319: FILE: lib/eal/include/rte_bitops.h:373:
+		 uint32_t *: __rte_bit_once_assign32,			\
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#320: FILE: lib/eal/include/rte_bitops.h:374:
+		 uint64_t *: __rte_bit_once_assign64)(addr, nr, value)
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#320: FILE: lib/eal/include/rte_bitops.h:374:
+		 uint64_t *: __rte_bit_once_assign64)(addr, nr, value)
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#349: FILE: lib/eal/include/rte_bitops.h:403:
+		 uint32_t *: __rte_bit_once_flip32,		\
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#349: FILE: lib/eal/include/rte_bitops.h:403:
+		 uint32_t *: __rte_bit_once_flip32,		\
 		           ^

ERROR:SPACING: need consistent spacing around '*' (ctx:WxO)
#350: FILE: lib/eal/include/rte_bitops.h:404:
+		 uint64_t *: __rte_bit_once_flip64)(addr, nr)
 		          ^

ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#350: FILE: lib/eal/include/rte_bitops.h:404:
+		 uint64_t *: __rte_bit_once_flip64)(addr, nr)
 		           ^

total: 24 errors, 3 warnings, 225 lines checked


More information about the test-report mailing list