|WARNING| pw143196 [RFC] table: report victim replace stats in LRU tables
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Aug 16 13:59:56 CEST 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/143196
_coding style issues_
WARNING:TYPO_SPELLING: 'happenning' may be misspelled - perhaps 'happening'?
#60:
is, however, no information about this happenning in either the return
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#93: FILE: lib/table/rte_table_hash_key16.c:30:
+#define RTE_TABLE_HASH_KEY16_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \
+ table->stats.n_pkts_insert_victims += val
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: lib/table/rte_table_hash_key32.c:30:
+#define RTE_TABLE_HASH_KEY32_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \
+ table->stats.n_pkts_insert_victims += val
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#147: FILE: lib/table/rte_table_hash_key8.c:28:
+#define RTE_TABLE_HASH_KEY8_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \
+ table->stats.n_pkts_insert_victims += val
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#174: FILE: lib/table/rte_table_hash_lru.c:26:
+#define RTE_TABLE_HASH_LRU_STATS_PKTS_INSERT_VICTIMS_ADD(table, val) \
+ table->stats.n_pkts_insert_victims += val
total: 4 errors, 1 warnings, 91 lines checked
More information about the test-report
mailing list