[dpdk-test-report] |WARNING| pw24153 [PATCH v3] eal: Set numa node value for system which not support it.

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 9 08:46:49 CEST 2017


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#47: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:317:
+    if (eal_parse_sysfs_value(filename, &tmp) == 0 &&$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 16)
#47: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:317:
+    if (eal_parse_sysfs_value(filename, &tmp) == 0 &&
[...]
 		dev->device.numa_node = tmp;

ERROR:CODE_INDENT: code indent should use tabs where possible
#48: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:318:
+        tmp < RTE_MAX_NUMA_NODES)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#48: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:318:
+        tmp < RTE_MAX_NUMA_NODES)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#51: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:320:
+    else$

ERROR:CODE_INDENT: code indent should use tabs where possible
#52: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:321:
+        dev->device.numa_node = 0;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#52: FILE: lib/librte_eal/linuxapp/eal/eal_pci.c:321:
+        dev->device.numa_node = 0;$

total: 2 errors, 5 warnings, 25 lines checked


More information about the test-report mailing list