[dpdk-test-report] |WARNING| pw18817 [PATCH] eal: Support running as unprivileged user

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 3 23:30:46 CET 2017


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#154: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:265:
+	unsigned i;

ERROR:SPACING: space required before the open brace '{'
#188: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1066:
+			if (find_physaddrs(&tmp_hp[hp_offset], hpi) < 0){

WARNING:LONG_LINE_STRING: line over 90 characters
#189: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1067:
+				RTE_LOG(DEBUG, EAL, "Failed to find phys addr for %u MB pages
",

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#190: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1068:
+						(unsigned)(hpi->hugepage_sz / 0x100000));

WARNING:LONG_LINE_STRING: line over 90 characters
#196: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1074:
+				RTE_LOG(DEBUG, EAL, "Failed to set phys addr for %u MB pages
",

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#197: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1075:
+						(unsigned)(hpi->hugepage_sz / 0x100000));

total: 1 errors, 5 warnings, 165 lines checked


More information about the test-report mailing list