[dpdk-test-report] |WARNING| pw32415 [PATCH RFC 02/23] eal/lcore: add function to report number of detected sockets

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 19 12:06:16 CET 2017


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#39: FILE: lib/librte_eal/common/eal_common_lcore.c:60:
+	unsigned max_socket_id = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#62: FILE: lib/librte_eal/common/eal_common_lcore.c:120:
+unsigned rte_num_sockets(void) {

ERROR:OPEN_BRACE: open brace '{' following function declarations go on the next line
#62: FILE: lib/librte_eal/common/eal_common_lcore.c:120:
+unsigned rte_num_sockets(void) {

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#91: FILE: lib/librte_eal/common/include/rte_lcore.h:156:
+unsigned rte_num_sockets(void);

total: 1 errors, 3 warnings, 49 lines checked


More information about the test-report mailing list