[dpdk-test-report] |WARNING| pw52347 [RFC] eal: make rte_rand() MT safe
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Apr 5 15:47:26 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/52347
_coding style issues_
ERROR:OPEN_BRACE: open brace '{' following struct go on the same line
#138: FILE: lib/librte_eal/common/rte_random.c:14:
+struct rte_rand_data
+{
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#147: FILE: lib/librte_eal/common/rte_random.c:23:
+ unsigned i;
WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#150: FILE: lib/librte_eal/common/rte_random.c:26:
+ /* give the different lcores a different seed, to avoid a
+ situation where they generate the same sequence */
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#150: FILE: lib/librte_eal/common/rte_random.c:26:
+ situation where they generate the same sequence */
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#168: FILE: lib/librte_eal/common/rte_random.c:44:
+ unsigned lcore_id;
total: 1 errors, 4 warnings, 163 lines checked
More information about the test-report
mailing list