|WARNING| pw114546 [dpdk-kmods] windows/netuio: fix bar parsing

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Aug 2 21:13:48 CEST 2022


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#88: FILE: windows/netuio/netuio_dev.c:175:
+    BOOLEAN bar_done = FALSE;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#97: FILE: windows/netuio/netuio_dev.c:201:
+        if (curr_bar == 0 || ((prev_bar & PCI_TYPE_64BIT) && (bar_done))) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#97: FILE: windows/netuio/netuio_dev.c:201:
+        if (curr_bar == 0 || ((prev_bar & PCI_TYPE_64BIT) && (bar_done))) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#97: FILE: windows/netuio/netuio_dev.c:201:
+        if (curr_bar == 0 || ((prev_bar & PCI_TYPE_64BIT) && (bar_done))) {
+            bar_done = FALSE;

ERROR:CODE_INDENT: code indent should use tabs where possible
#98: FILE: windows/netuio/netuio_dev.c:202:
+            bar_done = FALSE;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#98: FILE: windows/netuio/netuio_dev.c:202:
+            bar_done = FALSE;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#106: FILE: windows/netuio/netuio_dev.c:224:
+        bar_done = TRUE;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#106: FILE: windows/netuio/netuio_dev.c:224:
+        bar_done = TRUE;$

total: 3 errors, 5 warnings, 23 lines checked


More information about the test-report mailing list