[dpdk-test-report] |WARNING| pw46655 [1/2] eal: add API that sleeps while waiting for threads

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 11 21:03:56 CEST 2018


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#57: FILE: lib/librte_eal/common/eal_common_launch.c:44:
+rte_eal_wait_lcore_sleep(unsigned slave_id, size_t usec)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#62: FILE: lib/librte_eal/common/eal_common_launch.c:49:
+	while (lcore_config[slave_id].state != WAIT &&
[...]
+			usleep(usec);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#116: FILE: lib/librte_eal/common/include/rte_launch.h:157:
+rte_eal_wait_lcore_sleep(unsigned slave_id, size_t usec);

total: 0 errors, 3 warnings, 80 lines checked


More information about the test-report mailing list