|WARNING| pw124569 [RFC 1/2] eal: add bitset type
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Feb 28 10:47:26 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/124569
_coding style issues_
WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#171: FILE: app/test/test_bitset.c:5:
+#include <stdio.h>
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#670: FILE: app/test/test_bitset.c:504:
+#define GEN_DECLARE(size) \
+ { \
+ RTE_BITSET_DECLARE(bitset, size); \
+ size_t idx; \
+ \
+ idx = rte_rand_max(size); \
+ rte_bitset_init(bitset, size); \
+ \
+ rte_bitset_set(bitset, idx); \
+ if (!rte_bitset_test(bitset, idx)) \
+ return TEST_FAILED; \
+ if (rte_bitset_count_set(bitset, size) != 1) \
+ return TEST_FAILED; \
+ return TEST_SUCCESS; \
+ }
WARNING:TYPO_SPELLING: 'sucessive' may be misspelled - perhaps 'successive'?
#1005: FILE: lib/eal/include/rte_bitset.h:128:
+ * An iterator variable of type @c ssize_t. For each sucessive iteration,
WARNING:TYPO_SPELLING: 'sucessive' may be misspelled - perhaps 'successive'?
#1049: FILE: lib/eal/include/rte_bitset.h:172:
+ * An iterator variable of type @c ssize_t. For each sucessive iteration,
WARNING:TYPO_SPELLING: 'sucessive' may be misspelled - perhaps 'successive'?
#1077: FILE: lib/eal/include/rte_bitset.h:200:
+ * An iterator variable of type @c ssize_t. For each sucessive iteration,
total: 0 errors, 5 warnings, 1593 lines checked
More information about the test-report
mailing list