[dpdk-test-report] |WARNING| pw75538 [PATCH 16/22] uio: Wrap call into try/except block

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 14 01:26:02 CEST 2020


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#77: FILE: kernel/windows/netuio/netuio_queue.c:56:
+    __try {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#78: FILE: kernel/windows/netuio/netuio_queue.c:57:
+        netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#78: FILE: kernel/windows/netuio/netuio_queue.c:57:
+        netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#79: FILE: kernel/windows/netuio/netuio_queue.c:58:
+            MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_seg.mdl, UserMode,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#79: FILE: kernel/windows/netuio/netuio_queue.c:58:
+            MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_seg.mdl, UserMode,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#80: FILE: kernel/windows/netuio/netuio_queue.c:59:
+                                         MmCached, NULL, FALSE, NormalPagePriority);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#80: FILE: kernel/windows/netuio/netuio_queue.c:59:
+                                         MmCached, NULL, FALSE, NormalPagePriority);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#84: FILE: kernel/windows/netuio/netuio_queue.c:61:
+        if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr == NULL) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#84: FILE: kernel/windows/netuio/netuio_queue.c:61:
+        if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr == NULL) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12)
#84: FILE: kernel/windows/netuio/netuio_queue.c:61:
+        if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr == NULL) {
+            status = STATUS_INSUFFICIENT_RESOURCES;

ERROR:CODE_INDENT: code indent should use tabs where possible
#85: FILE: kernel/windows/netuio/netuio_queue.c:62:
+            status = STATUS_INSUFFICIENT_RESOURCES;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: kernel/windows/netuio/netuio_queue.c:62:
+            status = STATUS_INSUFFICIENT_RESOURCES;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#86: FILE: kernel/windows/netuio/netuio_queue.c:63:
+            goto end;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: kernel/windows/netuio/netuio_queue.c:63:
+            goto end;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#87: FILE: kernel/windows/netuio/netuio_queue.c:64:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#87: FILE: kernel/windows/netuio/netuio_queue.c:64:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#88: FILE: kernel/windows/netuio/netuio_queue.c:65:
+    }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#89: FILE: kernel/windows/netuio/netuio_queue.c:66:
+    __except (EXCEPTION_EXECUTE_HANDLER) {$

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#89: FILE: kernel/windows/netuio/netuio_queue.c:66:
+    __except (EXCEPTION_EXECUTE_HANDLER) {

ERROR:CODE_INDENT: code indent should use tabs where possible
#90: FILE: kernel/windows/netuio/netuio_queue.c:67:
+        status = GetExceptionCode();$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#90: FILE: kernel/windows/netuio/netuio_queue.c:67:
+        status = GetExceptionCode();$

ERROR:CODE_INDENT: code indent should use tabs where possible
#105: FILE: kernel/windows/netuio/netuio_queue.c:78:
+        __try {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#105: FILE: kernel/windows/netuio/netuio_queue.c:78:
+        __try {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#106: FILE: kernel/windows/netuio/netuio_queue.c:79:
+            netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr =$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#106: FILE: kernel/windows/netuio/netuio_queue.c:79:
+            netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr =$

ERROR:CODE_INDENT: code indent should use tabs where possible
#107: FILE: kernel/windows/netuio/netuio_queue.c:80:
+                MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_hw[idx].mdl, UserMode,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#107: FILE: kernel/windows/netuio/netuio_queue.c:80:
+                MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_hw[idx].mdl, UserMode,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#108: FILE: kernel/windows/netuio/netuio_queue.c:81:
+                                             MmCached, NULL, FALSE, NormalPagePriority);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#108: FILE: kernel/windows/netuio/netuio_queue.c:81:
+                                             MmCached, NULL, FALSE, NormalPagePriority);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#110: FILE: kernel/windows/netuio/netuio_queue.c:83:
+            if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#110: FILE: kernel/windows/netuio/netuio_queue.c:83:
+            if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#111: FILE: kernel/windows/netuio/netuio_queue.c:84:
+                status = STATUS_INSUFFICIENT_RESOURCES;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#111: FILE: kernel/windows/netuio/netuio_queue.c:84:
+                status = STATUS_INSUFFICIENT_RESOURCES;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#112: FILE: kernel/windows/netuio/netuio_queue.c:85:
+                goto end;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#112: FILE: kernel/windows/netuio/netuio_queue.c:85:
+                goto end;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#113: FILE: kernel/windows/netuio/netuio_queue.c:86:
+            }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#113: FILE: kernel/windows/netuio/netuio_queue.c:86:
+            }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#114: FILE: kernel/windows/netuio/netuio_queue.c:87:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#114: FILE: kernel/windows/netuio/netuio_queue.c:87:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#115: FILE: kernel/windows/netuio/netuio_queue.c:88:
+        __except (EXCEPTION_EXECUTE_HANDLER) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#115: FILE: kernel/windows/netuio/netuio_queue.c:88:
+        __except (EXCEPTION_EXECUTE_HANDLER) {$

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#115: FILE: kernel/windows/netuio/netuio_queue.c:88:
+        __except (EXCEPTION_EXECUTE_HANDLER) {

ERROR:CODE_INDENT: code indent should use tabs where possible
#116: FILE: kernel/windows/netuio/netuio_queue.c:89:
+            status = GetExceptionCode();$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#116: FILE: kernel/windows/netuio/netuio_queue.c:89:
+            status = GetExceptionCode();$

total: 19 errors, 25 warnings, 49 lines checked


More information about the test-report mailing list