From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D2BEBA04AF for ; Fri, 21 Aug 2020 00:26:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1156AAD5; Fri, 21 Aug 2020 00:26:09 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 6E08A1BEC3; Fri, 21 Aug 2020 00:26:08 +0200 (CEST) In-Reply-To: <1597962235-4787-1-git-send-email-navasile@linux.microsoft.com> References: <1597962235-4787-1-git-send-email-navasile@linux.microsoft.com> To: test-report@dpdk.org Cc: Narcisa Ana Maria Vasile Message-Id: <20200820222608.6E08A1BEC3@dpdk.org> Date: Fri, 21 Aug 2020 00:26:08 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw75796 [PATCH v2] windows/netuio: add Windows NetUIO kernel driver X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/75796 _coding style issues_ Must be a reply to the first patch (--in-reply-to). ERROR:TRAILING_WHITESPACE: trailing whitespace #155: FILE: windows/netuio/kernel/README_NetUIO.rst:25: +* Install Microsoft Visual Studio 2017 or Visual Stuido Studio 2019 Enterprise from https://visualstudio.microsoft.com/downloads/ $ ERROR:TRAILING_WHITESPACE: trailing whitespace #161: FILE: windows/netuio/kernel/README_NetUIO.rst:31: +* Install WDK for Windows 10 (10.0.17763.1) from https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk $ ERROR:TRAILING_WHITESPACE: trailing whitespace #165: FILE: windows/netuio/kernel/README_NetUIO.rst:35: +Follow the steps below to build the NetUIO driver and install the driver for the network adapter. $ ERROR:TRAILING_WHITESPACE: trailing whitespace #172: FILE: windows/netuio/kernel/README_NetUIO.rst:42: + $ ERROR:TRAILING_WHITESPACE: trailing whitespace #184: FILE: windows/netuio/kernel/README_NetUIO.rst:54: +Windows displays the text “Test Mode” to remind users the system has test-signing enabled. $ ERROR:TRAILING_WHITESPACE: trailing whitespace #186: FILE: windows/netuio/kernel/README_NetUIO.rst:56: + $ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #295: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:11: +#pragma alloc_text (PAGE, netuio_create_device) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #296: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:12: +#pragma alloc_text (PAGE, netuio_evt_device_context_cleanup) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #297: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:13: +#pragma alloc_text (PAGE, netuio_map_hw_resources) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #298: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:14: +#pragma alloc_text (PAGE, netuio_free_hw_resources) WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #302: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:18: +/* +Routine Description: WARNING:TYPO_SPELLING: 'Inout' may be misspelled - perhaps 'Input'? #309: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:25: +netuio_create_device(_Inout_ PWDFDEVICE_INIT DeviceInit) WARNING:LEADING_SPACE: please, no spaces at the start of a line #311: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:27: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #312: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:28: + WDFDEVICE device = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #314: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:30: + WDF_OBJECT_ATTRIBUTES deviceAttributes;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #315: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:31: + WDF_PNPPOWER_EVENT_CALLBACKS pnpPowerCallbacks;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #316: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:32: + WDF_FILEOBJECT_CONFIG fileConfig;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #318: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:34: + PAGED_CODE();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #320: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:36: + // Register PnP power management callbacks$ ERROR:C99_COMMENTS: do not use C99 // comments #320: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:36: + // Register PnP power management callbacks WARNING:LEADING_SPACE: please, no spaces at the start of a line #321: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:37: + WDF_PNPPOWER_EVENT_CALLBACKS_INIT(&pnpPowerCallbacks);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #322: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:38: + pnpPowerCallbacks.EvtDevicePrepareHardware = netuio_evt_prepare_hw;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #323: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:39: + pnpPowerCallbacks.EvtDeviceReleaseHardware = netuio_evt_release_hw;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #324: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:40: + WdfDeviceInitSetPnpPowerEventCallbacks(DeviceInit, &pnpPowerCallbacks);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #326: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:42: + // Register callbacks for when a HANDLE is opened or closed.$ ERROR:C99_COMMENTS: do not use C99 // comments #326: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:42: + // Register callbacks for when a HANDLE is opened or closed. WARNING:LONG_LINE: line over 100 characters #327: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:43: + WDF_FILEOBJECT_CONFIG_INIT(&fileConfig, WDF_NO_EVENT_CALLBACK, WDF_NO_EVENT_CALLBACK, netuio_evt_file_cleanup); WARNING:LEADING_SPACE: please, no spaces at the start of a line #327: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:43: + WDF_FILEOBJECT_CONFIG_INIT(&fileConfig, WDF_NO_EVENT_CALLBACK, WDF_NO_EVENT_CALLBACK, netuio_evt_file_cleanup);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #328: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:44: + WdfDeviceInitSetFileObjectConfig(DeviceInit, &fileConfig, WDF_NO_OBJECT_ATTRIBUTES);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #330: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:46: + // Set the device context cleanup callback.$ ERROR:C99_COMMENTS: do not use C99 // comments #330: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:46: + // Set the device context cleanup callback. WARNING:LONG_LINE_COMMENT: line over 100 characters #331: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:47: + // This function will be called when the WDF Device Object associated to the current device is destroyed WARNING:LEADING_SPACE: please, no spaces at the start of a line #331: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:47: + // This function will be called when the WDF Device Object associated to the current device is destroyed$ ERROR:C99_COMMENTS: do not use C99 // comments #331: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:47: + // This function will be called when the WDF Device Object associated to the current device is destroyed WARNING:LEADING_SPACE: please, no spaces at the start of a line #332: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:48: + WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&deviceAttributes, NETUIO_CONTEXT_DATA);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #333: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:49: + deviceAttributes.EvtCleanupCallback = netuio_evt_device_context_cleanup;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #334: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:50: + WdfDeviceInitSetIoInCallerContextCallback(DeviceInit, netuio_evt_IO_in_caller_context);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #336: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:52: + status = WdfDeviceCreate(&DeviceInit, &deviceAttributes, &device);$ ERROR:C99_COMMENTS: do not use C99 // comments #339: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:55: + // Create a device interface so that applications can find and talk to us. WARNING:LEADING_SPACE: please, no spaces at the start of a line #343: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:59: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #344: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:60: + // Retrieve and store PCI information$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #344: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:60: + // Retrieve and store PCI information$ ERROR:C99_COMMENTS: do not use C99 // comments #344: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:60: + // Retrieve and store PCI information ERROR:CODE_INDENT: code indent should use tabs where possible #345: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:61: + status = get_pci_device_info(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #345: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:61: + status = get_pci_device_info(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #346: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:62: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #348: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:64: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #349: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:65: + // Create a symbolic link name for user-space access$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #349: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:65: + // Create a symbolic link name for user-space access$ ERROR:C99_COMMENTS: do not use C99 // comments #349: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:65: + // Create a symbolic link name for user-space access ERROR:CODE_INDENT: code indent should use tabs where possible #350: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:66: + status = create_device_specific_symbolic_link(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #350: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:66: + status = create_device_specific_symbolic_link(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #351: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:67: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #353: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:69: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #354: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:70: + // Initialize the I/O Package and any Queues$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #354: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:70: + // Initialize the I/O Package and any Queues$ ERROR:C99_COMMENTS: do not use C99 // comments #354: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:70: + // Initialize the I/O Package and any Queues ERROR:CODE_INDENT: code indent should use tabs where possible #355: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:71: + status = netuio_queue_initialize(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #355: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:71: + status = netuio_queue_initialize(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #356: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:72: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #358: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:74: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #359: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:75: + // Allocate physically contiguous memory for user process use. We'll map it later$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #359: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:75: + // Allocate physically contiguous memory for user process use. We'll map it later$ ERROR:C99_COMMENTS: do not use C99 // comments #359: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:75: + // Allocate physically contiguous memory for user process use. We'll map it later ERROR:CODE_INDENT: code indent should use tabs where possible #360: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:76: + status = allocate_usermemory_segment(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #360: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:76: + status = allocate_usermemory_segment(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #361: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:77: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #363: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:79: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #367: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:83: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #376: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:92: + free_usermemory_segment(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #377: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:93: + return;$ WARNING:LONG_LINE: line over 100 characters #381: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:97: +netuio_map_hw_resources(_In_ WDFDEVICE Device, _In_ WDFCMRESLIST Resources, _In_ WDFCMRESLIST ResourcesTranslated) WARNING:LEADING_SPACE: please, no spaces at the start of a line #383: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:99: + UNREFERENCED_PARAMETER(Resources);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #385: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:101: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #387: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:103: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #388: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:104: + netuio_contextdata = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #390: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:106: + if (!netuio_contextdata) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #390: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:106: + if (!netuio_contextdata) { + return STATUS_UNSUCCESSFUL; + } ERROR:CODE_INDENT: code indent should use tabs where possible #391: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:107: + return STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #391: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:107: + return STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #392: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:108: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #394: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:110: + PCI_COMMON_HEADER pci_config = {0};$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #395: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:111: + ULONG bytes_returned;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #397: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:113: + // Read PCI configuration space$ ERROR:C99_COMMENTS: do not use C99 // comments #397: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:113: + // Read PCI configuration space WARNING:LEADING_SPACE: please, no spaces at the start of a line #398: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:114: + bytes_returned = netuio_contextdata->bus_interface.GetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #399: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:115: + netuio_contextdata->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #399: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:115: + netuio_contextdata->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #400: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:116: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #400: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:116: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #401: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:117: + &pci_config,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #401: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:117: + &pci_config,$ ERROR:CODE_INDENT: code indent should use tabs where possible #402: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:118: + 0,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #402: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:118: + 0,$ ERROR:CODE_INDENT: code indent should use tabs where possible #403: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:119: + sizeof(pci_config));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #403: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:119: + sizeof(pci_config));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #405: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:121: + if (bytes_returned != sizeof(pci_config)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #406: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:122: + status = STATUS_NOT_SUPPORTED;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #406: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:122: + status = STATUS_NOT_SUPPORTED;$ ERROR:CODE_INDENT: code indent should use tabs where possible #407: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:123: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #407: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:123: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #408: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:124: + }$ WARNING:TYPO_SPELLING: 'implictly' may be misspelled - perhaps 'implicitly'? #410: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:126: + // Device type is implictly enforced by .inf WARNING:LEADING_SPACE: please, no spaces at the start of a line #410: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:126: + // Device type is implictly enforced by .inf$ ERROR:C99_COMMENTS: do not use C99 // comments #410: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:126: + // Device type is implictly enforced by .inf WARNING:LEADING_SPACE: please, no spaces at the start of a line #411: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:127: + ASSERT(PCI_CONFIGURATION_TYPE(&pci_config) == PCI_DEVICE_TYPE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #413: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:129: + PCM_PARTIAL_RESOURCE_DESCRIPTOR descriptor;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #414: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:130: + ULONG next_descriptor = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #415: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:131: + ULONGLONG bar_addr = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #416: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:132: + ULONG curr_bar = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #417: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:133: + ULONG prev_bar = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #419: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:135: + for (INT bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #420: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:136: + prev_bar = curr_bar;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #420: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:136: + prev_bar = curr_bar;$ ERROR:CODE_INDENT: code indent should use tabs where possible #421: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:137: + curr_bar = pci_config.u.type0.BaseAddresses[bar_index];$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #421: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:137: + curr_bar = pci_config.u.type0.BaseAddresses[bar_index];$ ERROR:CODE_INDENT: code indent should use tabs where possible #422: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:138: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #422: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:138: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #422: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:138: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) { + // Skip this bar ERROR:CODE_INDENT: code indent should use tabs where possible #423: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:139: + // Skip this bar$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #423: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:139: + // Skip this bar$ ERROR:C99_COMMENTS: do not use C99 // comments #423: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:139: + // Skip this bar ERROR:CODE_INDENT: code indent should use tabs where possible #424: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:140: + netuio_contextdata->bar[bar_index].base_addr.QuadPart = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #424: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:140: + netuio_contextdata->bar[bar_index].base_addr.QuadPart = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #425: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:141: + netuio_contextdata->bar[bar_index].size = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #425: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:141: + netuio_contextdata->bar[bar_index].size = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #426: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:142: + netuio_contextdata->bar[bar_index].virt_addr = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #426: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:142: + netuio_contextdata->bar[bar_index].virt_addr = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #428: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:144: + netuio_contextdata->dpdk_hw[bar_index].mdl = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #428: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:144: + netuio_contextdata->dpdk_hw[bar_index].mdl = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #429: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:145: + netuio_contextdata->dpdk_hw[bar_index].mem.size = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #429: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:145: + netuio_contextdata->dpdk_hw[bar_index].mem.size = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #431: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:147: + continue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #431: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:147: + continue;$ ERROR:CODE_INDENT: code indent should use tabs where possible #432: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:148: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #432: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:148: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #434: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:150: + // Find next CmResourceTypeMemory$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #434: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:150: + // Find next CmResourceTypeMemory$ ERROR:C99_COMMENTS: do not use C99 // comments #434: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:150: + // Find next CmResourceTypeMemory ERROR:CODE_INDENT: code indent should use tabs where possible #435: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:151: + do {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #435: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:151: + do {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #435: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:151: + do { + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor); ERROR:CODE_INDENT: code indent should use tabs where possible #436: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:152: + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #436: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:152: + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor);$ ERROR:CODE_INDENT: code indent should use tabs where possible #437: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:153: + next_descriptor++;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #437: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:153: + next_descriptor++;$ ERROR:CODE_INDENT: code indent should use tabs where possible #439: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:155: + if (descriptor == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #439: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:155: + if (descriptor == NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #440: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:156: + status = STATUS_DEVICE_CONFIGURATION_ERROR;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #440: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:156: + status = STATUS_DEVICE_CONFIGURATION_ERROR;$ ERROR:CODE_INDENT: code indent should use tabs where possible #441: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:157: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #441: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:157: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #442: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:158: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #442: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:158: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #443: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:159: + } while (descriptor->Type != CmResourceTypeMemory);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #443: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:159: + } while (descriptor->Type != CmResourceTypeMemory);$ ERROR:CODE_INDENT: code indent should use tabs where possible #445: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:161: + // Assert that we have the correct descriptor$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #445: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:161: + // Assert that we have the correct descriptor$ ERROR:C99_COMMENTS: do not use C99 // comments #445: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:161: + // Assert that we have the correct descriptor ERROR:CODE_INDENT: code indent should use tabs where possible #446: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:162: + ASSERT((descriptor->Flags & CM_RESOURCE_MEMORY_BAR) != 0);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #446: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:162: + ASSERT((descriptor->Flags & CM_RESOURCE_MEMORY_BAR) != 0);$ ERROR:CODE_INDENT: code indent should use tabs where possible #448: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:164: + if (curr_bar & PCI_TYPE_64BIT) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #448: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:164: + if (curr_bar & PCI_TYPE_64BIT) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #448: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:164: + if (curr_bar & PCI_TYPE_64BIT) { + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1); ERROR:CODE_INDENT: code indent should use tabs where possible #449: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:165: + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #449: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:165: + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1);$ WARNING:LONG_LINE: line over 100 characters #450: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:166: + bar_addr = ((ULONGLONG)pci_config.u.type0.BaseAddresses[bar_index + 1] << 32) | (curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK); ERROR:CODE_INDENT: code indent should use tabs where possible #450: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:166: + bar_addr = ((ULONGLONG)pci_config.u.type0.BaseAddresses[bar_index + 1] << 32) | (curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #450: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:166: + bar_addr = ((ULONGLONG)pci_config.u.type0.BaseAddresses[bar_index + 1] << 32) | (curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK);$ ERROR:CODE_INDENT: code indent should use tabs where possible #451: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:167: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #451: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:167: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #452: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:168: + else$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #452: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:168: + else$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #452: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:168: + else + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #452: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:168: + else + { ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #452: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:168: + } + else ERROR:CODE_INDENT: code indent should use tabs where possible #453: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:169: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #453: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:169: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #454: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:170: + bar_addr = curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #454: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:170: + bar_addr = curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK;$ ERROR:CODE_INDENT: code indent should use tabs where possible #455: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:171: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #455: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:171: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #457: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:173: + ASSERT((ULONGLONG)descriptor->u.Memory.Start.QuadPart == bar_addr);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #457: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:173: + ASSERT((ULONGLONG)descriptor->u.Memory.Start.QuadPart == bar_addr);$ ERROR:CODE_INDENT: code indent should use tabs where possible #459: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:175: + // Retrieve and map the BARs$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #459: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:175: + // Retrieve and map the BARs$ ERROR:C99_COMMENTS: do not use C99 // comments #459: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:175: + // Retrieve and map the BARs ERROR:CODE_INDENT: code indent should use tabs where possible #460: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:176: + netuio_contextdata->bar[bar_index].base_addr.QuadPart = descriptor->u.Memory.Start.QuadPart;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #460: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:176: + netuio_contextdata->bar[bar_index].base_addr.QuadPart = descriptor->u.Memory.Start.QuadPart;$ ERROR:CODE_INDENT: code indent should use tabs where possible #461: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:177: + netuio_contextdata->bar[bar_index].size = descriptor->u.Memory.Length;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #461: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:177: + netuio_contextdata->bar[bar_index].size = descriptor->u.Memory.Length;$ ERROR:CODE_INDENT: code indent should use tabs where possible #462: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:178: + netuio_contextdata->bar[bar_index].virt_addr = MmMapIoSpace(descriptor->u.Memory.Start,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #462: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:178: + netuio_contextdata->bar[bar_index].virt_addr = MmMapIoSpace(descriptor->u.Memory.Start,$ ERROR:CODE_INDENT: code indent should use tabs where possible #463: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:179: + descriptor->u.Memory.Length,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #463: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:179: + descriptor->u.Memory.Length,$ ERROR:CODE_INDENT: code indent should use tabs where possible #464: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:180: + MmNonCached);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #464: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:180: + MmNonCached);$ ERROR:CODE_INDENT: code indent should use tabs where possible #465: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:181: + if (netuio_contextdata->bar[bar_index].virt_addr == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #465: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:181: + if (netuio_contextdata->bar[bar_index].virt_addr == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #465: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:181: + if (netuio_contextdata->bar[bar_index].virt_addr == NULL) { + status = STATUS_INSUFFICIENT_RESOURCES; ERROR:CODE_INDENT: code indent should use tabs where possible #466: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:182: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #466: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:182: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #467: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:183: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #467: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:183: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #468: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:184: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #468: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:184: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #470: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:186: + // Allocate an MDL for the device BAR, so we can map it to the user's process context later.$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #470: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:186: + // Allocate an MDL for the device BAR, so we can map it to the user's process context later.$ ERROR:C99_COMMENTS: do not use C99 // comments #470: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:186: + // Allocate an MDL for the device BAR, so we can map it to the user's process context later. WARNING:LONG_LINE: line over 100 characters #471: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:187: + netuio_contextdata->dpdk_hw[bar_index].mdl = IoAllocateMdl(netuio_contextdata->bar[bar_index].virt_addr, ERROR:CODE_INDENT: code indent should use tabs where possible #471: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:187: + netuio_contextdata->dpdk_hw[bar_index].mdl = IoAllocateMdl(netuio_contextdata->bar[bar_index].virt_addr,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #471: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:187: + netuio_contextdata->dpdk_hw[bar_index].mdl = IoAllocateMdl(netuio_contextdata->bar[bar_index].virt_addr,$ WARNING:LONG_LINE: line over 100 characters #472: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:188: + (ULONG)netuio_contextdata->bar[bar_index].size, ERROR:CODE_INDENT: code indent should use tabs where possible #472: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:188: + (ULONG)netuio_contextdata->bar[bar_index].size,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #472: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:188: + (ULONG)netuio_contextdata->bar[bar_index].size,$ ERROR:CODE_INDENT: code indent should use tabs where possible #473: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:189: + FALSE,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #473: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:189: + FALSE,$ ERROR:CODE_INDENT: code indent should use tabs where possible #474: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:190: + FALSE,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #474: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:190: + FALSE,$ ERROR:CODE_INDENT: code indent should use tabs where possible #475: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:191: + NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #475: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:191: + NULL);$ ERROR:CODE_INDENT: code indent should use tabs where possible #476: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:192: + if (!netuio_contextdata->dpdk_hw[bar_index].mdl) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #476: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:192: + if (!netuio_contextdata->dpdk_hw[bar_index].mdl) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #476: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:192: + if (!netuio_contextdata->dpdk_hw[bar_index].mdl) { + status = STATUS_INSUFFICIENT_RESOURCES; ERROR:CODE_INDENT: code indent should use tabs where possible #477: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:193: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #477: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:193: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #478: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:194: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #478: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:194: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #479: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:195: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #479: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:195: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #481: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:197: + netuio_contextdata->dpdk_hw[bar_index].mem.size = netuio_contextdata->bar[bar_index].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #481: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:197: + netuio_contextdata->dpdk_hw[bar_index].mem.size = netuio_contextdata->bar[bar_index].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #482: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:198: + } // for bar_index$ ERROR:C99_COMMENTS: do not use C99 // comments #482: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:198: + } // for bar_index WARNING:LEADING_SPACE: please, no spaces at the start of a line #484: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:200: + status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #487: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:203: + if (status != STATUS_SUCCESS) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #487: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:203: + if (status != STATUS_SUCCESS) { + netuio_free_hw_resources(Device); + } ERROR:CODE_INDENT: code indent should use tabs where possible #488: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:204: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #488: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:204: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #489: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:205: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #491: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:207: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #497: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:213: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #498: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:214: + netuio_contextdata = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #500: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:216: + if (netuio_contextdata) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #501: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:217: + for (UINT8 bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #501: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:217: + for (UINT8 bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #501: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:217: + for (UINT8 bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) { [...] + // Free the allocated MDLs ERROR:CODE_INDENT: code indent should use tabs where possible #503: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:219: + // Free the allocated MDLs$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #503: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:219: + // Free the allocated MDLs$ ERROR:C99_COMMENTS: do not use C99 // comments #503: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:219: + // Free the allocated MDLs ERROR:CODE_INDENT: code indent should use tabs where possible #504: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:220: + if (netuio_contextdata->dpdk_hw[bar_index].mdl) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #504: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:220: + if (netuio_contextdata->dpdk_hw[bar_index].mdl) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #504: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:220: + if (netuio_contextdata->dpdk_hw[bar_index].mdl) { + IoFreeMdl(netuio_contextdata->dpdk_hw[bar_index].mdl); + } ERROR:CODE_INDENT: code indent should use tabs where possible #505: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:221: + IoFreeMdl(netuio_contextdata->dpdk_hw[bar_index].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #505: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:221: + IoFreeMdl(netuio_contextdata->dpdk_hw[bar_index].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #506: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:222: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #506: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:222: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #508: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:224: + // Unmap all the BAR regions previously mapped$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #508: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:224: + // Unmap all the BAR regions previously mapped$ ERROR:C99_COMMENTS: do not use C99 // comments #508: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:224: + // Unmap all the BAR regions previously mapped ERROR:CODE_INDENT: code indent should use tabs where possible #509: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:225: + if (netuio_contextdata->bar[bar_index].virt_addr) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #509: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:225: + if (netuio_contextdata->bar[bar_index].virt_addr) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #509: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:225: + if (netuio_contextdata->bar[bar_index].virt_addr) { + MmUnmapIoSpace(netuio_contextdata->bar[bar_index].virt_addr, netuio_contextdata->bar[bar_index].size); + } WARNING:LONG_LINE: line over 100 characters #510: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:226: + MmUnmapIoSpace(netuio_contextdata->bar[bar_index].virt_addr, netuio_contextdata->bar[bar_index].size); ERROR:CODE_INDENT: code indent should use tabs where possible #510: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:226: + MmUnmapIoSpace(netuio_contextdata->bar[bar_index].virt_addr, netuio_contextdata->bar[bar_index].size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #510: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:226: + MmUnmapIoSpace(netuio_contextdata->bar[bar_index].virt_addr, netuio_contextdata->bar[bar_index].size);$ ERROR:CODE_INDENT: code indent should use tabs where possible #511: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:227: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #511: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:227: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #512: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:228: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #512: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:228: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #514: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:230: + RtlZeroMemory(netuio_contextdata->dpdk_hw, sizeof(netuio_contextdata->dpdk_hw));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #514: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:230: + RtlZeroMemory(netuio_contextdata->dpdk_hw, sizeof(netuio_contextdata->dpdk_hw));$ ERROR:CODE_INDENT: code indent should use tabs where possible #515: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:231: + RtlZeroMemory(netuio_contextdata->bar, sizeof(netuio_contextdata->bar));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #515: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:231: + RtlZeroMemory(netuio_contextdata->bar, sizeof(netuio_contextdata->bar));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #516: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:232: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #523: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:239: + NTSTATUS status = STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #525: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:241: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #526: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:242: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #528: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:244: + if (!netuio_contextdata)$ ERROR:CODE_INDENT: code indent should use tabs where possible #529: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:245: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #529: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:245: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #531: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:247: + netuio_contextdata->wdf_device = device; // Store for later use$ ERROR:C99_COMMENTS: do not use C99 // comments #531: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:247: + netuio_contextdata->wdf_device = device; // Store for later use WARNING:LEADING_SPACE: please, no spaces at the start of a line #533: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:249: + // Obtain the BUS_INTERFACE_STANDARD interface from the Bus Driver$ ERROR:C99_COMMENTS: do not use C99 // comments #533: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:249: + // Obtain the BUS_INTERFACE_STANDARD interface from the Bus Driver WARNING:LEADING_SPACE: please, no spaces at the start of a line #534: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:250: + status = WdfFdoQueryForInterface(device, &GUID_BUS_INTERFACE_STANDARD,$ ERROR:CODE_INDENT: code indent should use tabs where possible #535: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:251: + (PINTERFACE)&netuio_contextdata->bus_interface,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #535: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:251: + (PINTERFACE)&netuio_contextdata->bus_interface,$ ERROR:CODE_INDENT: code indent should use tabs where possible #536: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:252: + sizeof(BUS_INTERFACE_STANDARD), 1, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #536: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:252: + sizeof(BUS_INTERFACE_STANDARD), 1, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #537: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:253: + if (!NT_SUCCESS(status))$ ERROR:CODE_INDENT: code indent should use tabs where possible #538: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:254: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #538: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:254: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #540: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:256: + // Retrieve the B:D:F details of our device$ ERROR:C99_COMMENTS: do not use C99 // comments #540: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:256: + // Retrieve the B:D:F details of our device WARNING:LEADING_SPACE: please, no spaces at the start of a line #541: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:257: + PDEVICE_OBJECT pdo = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #542: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:258: + pdo = WdfDeviceWdmGetPhysicalDevice(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #543: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:259: + if (pdo) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #544: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:260: + ULONG prop = 0, length = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #544: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:260: + ULONG prop = 0, length = 0;$ WARNING:LONG_LINE: line over 100 characters #545: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:261: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&netuio_contextdata->addr.bus_num, &length); ERROR:CODE_INDENT: code indent should use tabs where possible #545: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:261: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&netuio_contextdata->addr.bus_num, &length);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #545: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:261: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&netuio_contextdata->addr.bus_num, &length);$ WARNING:LONG_LINE: line over 100 characters #546: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:262: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length); ERROR:CODE_INDENT: code indent should use tabs where possible #546: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:262: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #546: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:262: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length);$ ERROR:CODE_INDENT: code indent should use tabs where possible #548: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:264: + if (NT_SUCCESS(status)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #548: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:264: + if (NT_SUCCESS(status)) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #548: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:264: + if (NT_SUCCESS(status)) { + netuio_contextdata->addr.func_num = prop & 0x0000FFFF; ERROR:CODE_INDENT: code indent should use tabs where possible #549: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:265: + netuio_contextdata->addr.func_num = prop & 0x0000FFFF;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #549: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:265: + netuio_contextdata->addr.func_num = prop & 0x0000FFFF;$ ERROR:CODE_INDENT: code indent should use tabs where possible #550: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:266: + netuio_contextdata->addr.dev_num = ((prop >> 16) & 0x0000FFFF);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #550: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:266: + netuio_contextdata->addr.dev_num = ((prop >> 16) & 0x0000FFFF);$ ERROR:CODE_INDENT: code indent should use tabs where possible #551: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:267: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #551: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:267: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #552: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:268: + // Also, retrieve the NUMA node of the device$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #552: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:268: + // Also, retrieve the NUMA node of the device$ ERROR:C99_COMMENTS: do not use C99 // comments #552: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:268: + // Also, retrieve the NUMA node of the device ERROR:CODE_INDENT: code indent should use tabs where possible #553: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:269: + USHORT numaNode;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #553: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:269: + USHORT numaNode;$ ERROR:CODE_INDENT: code indent should use tabs where possible #554: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:270: + status = IoGetDeviceNumaNode(pdo, &numaNode);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #554: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:270: + status = IoGetDeviceNumaNode(pdo, &numaNode);$ ERROR:CODE_INDENT: code indent should use tabs where possible #555: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:271: + if (NT_SUCCESS(status)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #555: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:271: + if (NT_SUCCESS(status)) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #555: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:271: + if (NT_SUCCESS(status)) { + netuio_contextdata->dev_numa_node = numaNode; WARNING:BRACES: braces {} are not necessary for single statement blocks #555: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:271: + if (NT_SUCCESS(status)) { + netuio_contextdata->dev_numa_node = numaNode; + } ERROR:CODE_INDENT: code indent should use tabs where possible #556: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:272: + netuio_contextdata->dev_numa_node = numaNode;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #556: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:272: + netuio_contextdata->dev_numa_node = numaNode;$ ERROR:CODE_INDENT: code indent should use tabs where possible #557: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:273: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #557: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:273: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #558: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:274: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #560: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:276: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #566: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:282: + NTSTATUS status = STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #567: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:283: + UNICODE_STRING netuio_symbolic_link;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #569: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:285: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #570: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:286: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #572: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:288: + if (!netuio_contextdata)$ ERROR:CODE_INDENT: code indent should use tabs where possible #573: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:289: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #573: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:289: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #575: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:291: + // Build symbolic link name as _BDF (bus/device/func)$ ERROR:C99_COMMENTS: do not use C99 // comments #575: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:291: + // Build symbolic link name as _BDF (bus/device/func) WARNING:LEADING_SPACE: please, no spaces at the start of a line #576: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:292: + CHAR symbolic_link[64] = { 0 };$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #577: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:293: + sprintf_s(symbolic_link, sizeof(symbolic_link), "%s_%04d%02d%02d",$ ERROR:CODE_INDENT: code indent should use tabs where possible #578: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:294: + NETUIO_DEVICE_SYMBOLIC_LINK_ANSI, netuio_contextdata->addr.bus_num,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #578: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:294: + NETUIO_DEVICE_SYMBOLIC_LINK_ANSI, netuio_contextdata->addr.bus_num,$ ERROR:CODE_INDENT: code indent should use tabs where possible #579: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:295: + netuio_contextdata->addr.dev_num, netuio_contextdata->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #579: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:295: + netuio_contextdata->addr.dev_num, netuio_contextdata->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #581: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:297: + ANSI_STRING ansi_symbolic_link;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #582: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:298: + RtlInitAnsiString(&ansi_symbolic_link, symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #584: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:300: + status = RtlAnsiStringToUnicodeString(&netuio_symbolic_link, &ansi_symbolic_link, TRUE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #585: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:301: + if (!NT_SUCCESS(status))$ ERROR:CODE_INDENT: code indent should use tabs where possible #586: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:302: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #586: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:302: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #588: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:304: + status = WdfDeviceCreateSymbolicLink(device, &netuio_symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #590: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:306: + RtlFreeUnicodeString(&netuio_symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #592: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:308: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #598: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:314: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #600: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:316: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #601: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:317: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #603: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:319: + if (!netuio_contextdata)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #603: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:319: + if (!netuio_contextdata) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #604: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:320: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #605: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:321: + status = STATUS_INVALID_DEVICE_STATE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #605: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:321: + status = STATUS_INVALID_DEVICE_STATE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #606: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:322: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #606: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:322: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #607: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:323: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #609: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:325: + PHYSICAL_ADDRESS lowest_acceptable_address;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #610: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:326: + PHYSICAL_ADDRESS highest_acceptable_address;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #611: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:327: + PHYSICAL_ADDRESS boundary_address_multiple;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #613: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:329: + lowest_acceptable_address.QuadPart = 0x0000000000000000;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #614: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:330: + highest_acceptable_address.QuadPart = 0xFFFFFFFFFFFFFFFF;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #615: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:331: + boundary_address_multiple.QuadPart = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #617: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:333: + // Allocate physically contiguous memory for user process use$ ERROR:C99_COMMENTS: do not use C99 // comments #617: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:333: + // Allocate physically contiguous memory for user process use WARNING:LEADING_SPACE: please, no spaces at the start of a line #618: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:334: + netuio_contextdata->dpdk_seg.mem.virt_addr =$ ERROR:CODE_INDENT: code indent should use tabs where possible #619: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:335: + MmAllocateContiguousMemorySpecifyCache(USER_MEMORY_SEGMENT_SIZE,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #619: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:335: + MmAllocateContiguousMemorySpecifyCache(USER_MEMORY_SEGMENT_SIZE,$ ERROR:CODE_INDENT: code indent should use tabs where possible #620: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:336: + lowest_acceptable_address,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #620: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:336: + lowest_acceptable_address,$ ERROR:CODE_INDENT: code indent should use tabs where possible #621: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:337: + highest_acceptable_address,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #621: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:337: + highest_acceptable_address,$ ERROR:CODE_INDENT: code indent should use tabs where possible #622: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:338: + boundary_address_multiple,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #622: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:338: + boundary_address_multiple,$ ERROR:CODE_INDENT: code indent should use tabs where possible #623: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:339: + MmCached);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #623: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:339: + MmCached);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #625: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:341: + if (!netuio_contextdata->dpdk_seg.mem.virt_addr) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #626: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:342: + status = STATUS_NO_MEMORY;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #626: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:342: + status = STATUS_NO_MEMORY;$ ERROR:CODE_INDENT: code indent should use tabs where possible #627: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:343: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #627: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:343: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #628: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:344: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #630: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:346: + netuio_contextdata->dpdk_seg.mem.size = USER_MEMORY_SEGMENT_SIZE;$ WARNING:LONG_LINE_COMMENT: line over 100 characters #632: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:348: + // Allocate an MDL for this memory region - so that we can map it into the user's process context later WARNING:LEADING_SPACE: please, no spaces at the start of a line #632: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:348: + // Allocate an MDL for this memory region - so that we can map it into the user's process context later$ ERROR:C99_COMMENTS: do not use C99 // comments #632: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:348: + // Allocate an MDL for this memory region - so that we can map it into the user's process context later WARNING:LONG_LINE: line over 100 characters #633: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:349: + netuio_contextdata->dpdk_seg.mdl = IoAllocateMdl((PVOID)netuio_contextdata->dpdk_seg.mem.virt_addr, USER_MEMORY_SEGMENT_SIZE, FALSE, FALSE, NULL); WARNING:LEADING_SPACE: please, no spaces at the start of a line #633: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:349: + netuio_contextdata->dpdk_seg.mdl = IoAllocateMdl((PVOID)netuio_contextdata->dpdk_seg.mem.virt_addr, USER_MEMORY_SEGMENT_SIZE, FALSE, FALSE, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #634: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:350: + if (netuio_contextdata->dpdk_seg.mdl == NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #635: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:351: + status = STATUS_NO_MEMORY;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #635: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:351: + status = STATUS_NO_MEMORY;$ ERROR:CODE_INDENT: code indent should use tabs where possible #636: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:352: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #636: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:352: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #637: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:353: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #639: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:355: + // Store the region's physical address$ ERROR:C99_COMMENTS: do not use C99 // comments #639: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:355: + // Store the region's physical address WARNING:LONG_LINE: line over 100 characters #640: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:356: + netuio_contextdata->dpdk_seg.mem.phys_addr = MmGetPhysicalAddress(netuio_contextdata->dpdk_seg.mem.virt_addr); WARNING:LEADING_SPACE: please, no spaces at the start of a line #640: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:356: + netuio_contextdata->dpdk_seg.mem.phys_addr = MmGetPhysicalAddress(netuio_contextdata->dpdk_seg.mem.virt_addr);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #642: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:358: + status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #645: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:361: + if (status != STATUS_SUCCESS)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #645: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:361: + if (status != STATUS_SUCCESS) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #646: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:362: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #647: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:363: + free_usermemory_segment(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #647: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:363: + free_usermemory_segment(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #648: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:364: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #650: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:366: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #656: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:372: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #657: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:373: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #659: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:375: + if (netuio_contextdata) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #660: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:376: + if (netuio_contextdata->dpdk_seg.mdl)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #660: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:376: + if (netuio_contextdata->dpdk_seg.mdl)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #660: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:376: + if (netuio_contextdata->dpdk_seg.mdl) + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #660: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:376: + if (netuio_contextdata->dpdk_seg.mdl) + { ERROR:CODE_INDENT: code indent should use tabs where possible #661: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:377: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #661: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:377: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #662: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:378: + IoFreeMdl(netuio_contextdata->dpdk_seg.mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #662: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:378: + IoFreeMdl(netuio_contextdata->dpdk_seg.mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #663: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:379: + netuio_contextdata->dpdk_seg.mdl = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #663: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:379: + netuio_contextdata->dpdk_seg.mdl = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #664: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:380: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #664: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:380: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #666: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:382: + if (netuio_contextdata->dpdk_seg.mem.virt_addr)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #666: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:382: + if (netuio_contextdata->dpdk_seg.mem.virt_addr)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #666: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:382: + if (netuio_contextdata->dpdk_seg.mem.virt_addr) + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #666: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:382: + if (netuio_contextdata->dpdk_seg.mem.virt_addr) + { ERROR:CODE_INDENT: code indent should use tabs where possible #667: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:383: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #667: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:383: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #668: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:384: + MmFreeContiguousMemory(netuio_contextdata->dpdk_seg.mem.virt_addr);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #668: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:384: + MmFreeContiguousMemory(netuio_contextdata->dpdk_seg.mem.virt_addr);$ ERROR:CODE_INDENT: code indent should use tabs where possible #669: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:385: + netuio_contextdata->dpdk_seg.mem.virt_addr = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #669: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:385: + netuio_contextdata->dpdk_seg.mem.virt_addr = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #670: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:386: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #670: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:386: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #671: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.c:387: + }$ ERROR:C99_COMMENTS: do not use C99 // comments #690: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:12: +// Constants ERROR:C99_COMMENTS: do not use C99 // comments #691: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:13: +#define USER_MEMORY_SEGMENT_SIZE (256ULL * 1024ULL * 1024ULL) // 256MB WARNING:LEADING_SPACE: please, no spaces at the start of a line #694: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:16: + PHYSICAL_ADDRESS base_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #695: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:17: + PVOID virt_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #696: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:18: + UINT64 size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #700: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:22: + PMDL mdl; // MDL describing the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #700: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:22: + PMDL mdl; // MDL describing the memory region WARNING:LEADING_SPACE: please, no spaces at the start of a line #701: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:23: + struct mem_region mem; // Memory region details$ ERROR:C99_COMMENTS: do not use C99 // comments #701: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:23: + struct mem_region mem; // Memory region details ERROR:C99_COMMENTS: do not use C99 // comments #704: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:26: +// The device context performs the same job as a WDM device extension in the driver frameworks ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #706: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:28: +typedef struct _NETUIO_CONTEXT_DATA +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #707: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:29: + WDFDEVICE wdf_device; // WDF device handle to the FDO$ ERROR:C99_COMMENTS: do not use C99 // comments #707: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:29: + WDFDEVICE wdf_device; // WDF device handle to the FDO WARNING:LEADING_SPACE: please, no spaces at the start of a line #708: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:30: + BUS_INTERFACE_STANDARD bus_interface; // Bus interface for config space access$ ERROR:C99_COMMENTS: do not use C99 // comments #708: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:30: + BUS_INTERFACE_STANDARD bus_interface; // Bus interface for config space access WARNING:LEADING_SPACE: please, no spaces at the start of a line #709: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:31: + struct pci_bar bar[PCI_MAX_BAR]; // device BARs$ ERROR:C99_COMMENTS: do not use C99 // comments #709: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:31: + struct pci_bar bar[PCI_MAX_BAR]; // device BARs WARNING:LEADING_SPACE: please, no spaces at the start of a line #710: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:32: + struct dev_addr addr; // B:D:F details of device$ ERROR:C99_COMMENTS: do not use C99 // comments #710: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:32: + struct dev_addr addr; // B:D:F details of device WARNING:LEADING_SPACE: please, no spaces at the start of a line #711: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:33: + USHORT dev_numa_node; // The NUMA node of the device$ ERROR:C99_COMMENTS: do not use C99 // comments #711: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:33: + USHORT dev_numa_node; // The NUMA node of the device WARNING:LEADING_SPACE: please, no spaces at the start of a line #712: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:34: + struct mem_map_region dpdk_hw[PCI_MAX_BAR]; // mapped region for the device's register space$ ERROR:C99_COMMENTS: do not use C99 // comments #712: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:34: + struct mem_map_region dpdk_hw[PCI_MAX_BAR]; // mapped region for the device's register space WARNING:LEADING_SPACE: please, no spaces at the start of a line #713: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:35: + struct mem_map_region dpdk_seg; // mapped region allocated for DPDK process use$ ERROR:C99_COMMENTS: do not use C99 // comments #713: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:35: + struct mem_map_region dpdk_seg; // mapped region allocated for DPDK process use ERROR:C99_COMMENTS: do not use C99 // comments #717: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:39: +// This macro will generate an inline function called DeviceGetContext ERROR:C99_COMMENTS: do not use C99 // comments #718: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:40: +// which will be used to get a pointer to the device context memory in a type safe manner. ERROR:C99_COMMENTS: do not use C99 // comments #722: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:44: +// Function to initialize the device and its callbacks WARNING:TYPO_SPELLING: 'Inout' may be misspelled - perhaps 'Input'? #723: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:45: +NTSTATUS netuio_create_device(_Inout_ PWDFDEVICE_INIT DeviceInit); WARNING:LONG_LINE: line over 100 characters #724: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:46: +NTSTATUS netuio_map_hw_resources(_In_ WDFDEVICE Device, _In_ WDFCMRESLIST Resources, _In_ WDFCMRESLIST ResourcesTranslated); ERROR:C99_COMMENTS: do not use C99 // comments #728: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:50: +// Function called for cleanup when device object is being destroyed ERROR:C99_COMMENTS: do not use C99 // comments #731: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:53: +// Local function protoyypes ERROR:C99_COMMENTS: do not use C99 // comments #739: FILE: windows/netuio/kernel/windows/netuio/netuio_dev.h:61: +#endif // NETUIO_DEV_H WARNING:SPACING: space prohibited between function name and open parenthesis '(' #753: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:8: +#pragma alloc_text (INIT, DriverEntry) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #754: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:9: +#pragma alloc_text (PAGE, netuio_evt_device_add) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #755: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:10: +#pragma alloc_text (PAGE, netuio_evt_driver_context_cleanup) WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #760: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:15: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #772: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:27: + WDF_DRIVER_CONFIG config;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #773: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:28: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #774: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:29: + WDF_OBJECT_ATTRIBUTES attributes;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #776: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:31: + // Register a cleanup callback so that we can call WPP_CLEANUP when$ ERROR:C99_COMMENTS: do not use C99 // comments #776: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:31: + // Register a cleanup callback so that we can call WPP_CLEANUP when WARNING:LEADING_SPACE: please, no spaces at the start of a line #777: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:32: + // the framework driver object is deleted during driver unload.$ ERROR:C99_COMMENTS: do not use C99 // comments #777: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:32: + // the framework driver object is deleted during driver unload. WARNING:LEADING_SPACE: please, no spaces at the start of a line #778: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:33: + WDF_OBJECT_ATTRIBUTES_INIT(&attributes);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #779: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:34: + attributes.EvtCleanupCallback = netuio_evt_driver_context_cleanup;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #781: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:36: + WDF_DRIVER_CONFIG_INIT(&config, netuio_evt_device_add);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #783: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:38: + status = WdfDriverCreate(DriverObject, RegistryPath,$ ERROR:CODE_INDENT: code indent should use tabs where possible #784: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:39: + &attributes, &config,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #784: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:39: + &attributes, &config,$ ERROR:CODE_INDENT: code indent should use tabs where possible #785: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:40: + WDF_NO_HANDLE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #785: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:40: + WDF_NO_HANDLE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #787: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:42: + if (!NT_SUCCESS(status)) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #787: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:42: + if (!NT_SUCCESS(status)) { + return status; + } ERROR:CODE_INDENT: code indent should use tabs where possible #788: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:43: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #788: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:43: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #789: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:44: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #791: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:46: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #796: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:51: +/* +Routine Description: WARNING:TYPO_SPELLING: 'Inout' may be misspelled - perhaps 'Input'? #805: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:60: +netuio_evt_device_add(_In_ WDFDRIVER Driver, _Inout_ PWDFDEVICE_INIT DeviceInit) WARNING:LEADING_SPACE: please, no spaces at the start of a line #807: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:62: + UNREFERENCED_PARAMETER(Driver);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #808: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:63: + return netuio_create_device(DeviceInit);$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #812: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:67: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #818: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:73: +-*/ WARNING:LONG_LINE: line over 100 characters #820: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:75: +netuio_evt_prepare_hw(_In_ WDFDEVICE Device, _In_ WDFCMRESLIST Resources, _In_ WDFCMRESLIST ResourcesTranslated) WARNING:LEADING_SPACE: please, no spaces at the start of a line #822: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:77: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #824: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:79: + status = netuio_map_hw_resources(Device, Resources, ResourcesTranslated);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #826: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:81: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #827: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:82: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #827: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:82: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ ERROR:CODE_INDENT: code indent should use tabs where possible #828: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:83: + netuio_contextdata = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #828: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:83: + netuio_contextdata = netuio_get_context_data(Device);$ ERROR:CODE_INDENT: code indent should use tabs where possible #829: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:84: + if (netuio_contextdata) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #829: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:84: + if (netuio_contextdata) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #829: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:84: + if (netuio_contextdata) { + DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_NETUIO_INFO_LEVEL, "netUIO Driver loaded...on device (B:D:F) %04d:%02d:%02d ", ERROR:CODE_INDENT: code indent should use tabs where possible #830: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:85: + DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_NETUIO_INFO_LEVEL, "netUIO Driver loaded...on device (B:D:F) %04d:%02d:%02d ",$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #830: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:85: + DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_NETUIO_INFO_LEVEL, "netUIO Driver loaded...on device (B:D:F) %04d:%02d:%02d ",$ WARNING:LONG_LINE: line over 100 characters #831: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:86: + netuio_contextdata->addr.bus_num, netuio_contextdata->addr.dev_num, netuio_contextdata->addr.func_num); ERROR:CODE_INDENT: code indent should use tabs where possible #831: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:86: + netuio_contextdata->addr.bus_num, netuio_contextdata->addr.dev_num, netuio_contextdata->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #831: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:86: + netuio_contextdata->addr.bus_num, netuio_contextdata->addr.dev_num, netuio_contextdata->addr.func_num);$ ERROR:CODE_INDENT: code indent should use tabs where possible #832: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:87: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #832: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:87: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #833: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:88: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #834: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:89: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #838: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:93: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #843: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:98: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #847: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:102: + UNREFERENCED_PARAMETER(ResourcesTranslated);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #849: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:104: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #851: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:106: + return STATUS_SUCCESS;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #855: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:110: +/* +Routine Description: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #860: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:115: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #864: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:119: + UNREFERENCED_PARAMETER(DriverObject);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #865: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:120: + DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_NETUIO_INFO_LEVEL, "netUIO Driver unloaded. ");$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #866: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:121: + PAGED_CODE();$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #870: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:125: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #877: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:132: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #881: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:136: + WDFDEVICE device;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #882: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:137: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #884: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:139: + device = WdfFileObjectGetDevice(FileObject);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #885: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:140: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #887: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:142: + if (netuio_contextdata)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #887: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:142: + if (netuio_contextdata) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #888: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:143: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #889: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:144: + netuio_unmap_address_from_user_process(netuio_contextdata);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #889: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:144: + netuio_unmap_address_from_user_process(netuio_contextdata);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #890: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.c:145: + }$ ERROR:C99_COMMENTS: do not use C99 // comments #916: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.h:19: +// Print output constants ERROR:C99_COMMENTS: do not use C99 // comments #919: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.h:22: +// WDFDRIVER Events ERROR:C99_COMMENTS: do not use C99 // comments #929: FILE: windows/netuio/kernel/windows/netuio/netuio_drv.h:32: +#endif // NETUIO_DRV_H ERROR:TRAILING_WHITESPACE: trailing whitespace #943: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:8: +// All structures in this file are packed on an 8B boundary. $ ERROR:C99_COMMENTS: do not use C99 // comments #943: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:8: +// All structures in this file are packed on an 8B boundary. ERROR:C99_COMMENTS: do not use C99 // comments #947: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:12: +// Define an Interface Guid so that any app can find the device and talk to it. WARNING:LONG_LINE: line over 100 characters #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ERROR:C99_COMMENTS: do not use C99 // comments #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} WARNING:SPACING: space prohibited between function name and open parenthesis '(' #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:SPACING: space required after that ',' (ctx:VxV) #948: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:13: +DEFINE_GUID (GUID_DEVINTERFACE_netUIO, 0x08336f60,0x0679,0x4c6c,0x85,0xd2,0xae,0x7c,0xed,0x65,0xff,0xf7); // {08336f60-0679-4c6c-85d2-ae7ced65fff7} ^ ERROR:C99_COMMENTS: do not use C99 // comments #950: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:15: +// Device name definitions ERROR:C99_COMMENTS: do not use C99 // comments #953: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:18: +// netUIO driver symbolic name (prefix) ERROR:C99_COMMENTS: do not use C99 // comments #956: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:21: +// IOCTL code definitions WARNING:LONG_LINE: line over 100 characters #957: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:22: +#define IOCTL_NETUIO_MAP_HW_INTO_USERMODE CTL_CODE(FILE_DEVICE_NETWORK, 51, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) WARNING:LONG_LINE: line over 100 characters #958: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:23: +#define IOCTL_NETUIO_PCI_CONFIG_IO CTL_CODE(FILE_DEVICE_NETWORK, 52, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS) WARNING:LEADING_SPACE: please, no spaces at the start of a line #961: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:26: + UINT64 size; // memory region size$ ERROR:C99_COMMENTS: do not use C99 // comments #961: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:26: + UINT64 size; // memory region size WARNING:LEADING_SPACE: please, no spaces at the start of a line #962: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:27: + PHYSICAL_ADDRESS phys_addr; // physical address of the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #962: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:27: + PHYSICAL_ADDRESS phys_addr; // physical address of the memory region WARNING:LEADING_SPACE: please, no spaces at the start of a line #963: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:28: + PVOID virt_addr; // virtual address of the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #963: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:28: + PVOID virt_addr; // virtual address of the memory region WARNING:LONG_LINE_COMMENT: line over 100 characters #964: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:29: + PVOID user_mapped_virt_addr; // virtual address of the region mapped into user process context WARNING:LEADING_SPACE: please, no spaces at the start of a line #964: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:29: + PVOID user_mapped_virt_addr; // virtual address of the region mapped into user process context$ ERROR:C99_COMMENTS: do not use C99 // comments #964: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:29: + PVOID user_mapped_virt_addr; // virtual address of the region mapped into user process context WARNING:LEADING_SPACE: please, no spaces at the start of a line #968: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:33: + ULONG bus_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #969: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:34: + USHORT dev_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #970: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:35: + USHORT func_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #974: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:39: + PCI_IO_READ = 0,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #975: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:40: + PCI_IO_WRITE = 1$ ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #981: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:46: +struct dpdk_private_info +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #982: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:47: + struct mem_region hw[PCI_MAX_BAR];$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #983: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:48: + struct mem_region ms;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #984: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:49: + struct dev_addr dev_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #985: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:50: + UINT16 dev_id;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #986: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:51: + UINT16 sub_dev_id;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #987: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:52: + USHORT dev_numa_node;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #988: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:53: + USHORT reserved;$ ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #992: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:57: +struct dpdk_pci_config_io +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #993: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:58: + struct dev_addr dev_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #994: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:59: + UINT32 offset;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #995: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:60: + enum pci_io op;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #996: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:61: + UINT32 access_size; // 1, 2, 4, or 8 bytes$ ERROR:C99_COMMENTS: do not use C99 // comments #996: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:61: + UINT32 access_size; // 1, 2, 4, or 8 bytes WARNING:LEADING_SPACE: please, no spaces at the start of a line #998: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:63: + union dpdk_pci_config_io_data {$ ERROR:CODE_INDENT: code indent should use tabs where possible #999: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:64: + UINT8^I^I^Iu8;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #999: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:64: + UINT8^I^I^Iu8;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1000: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:65: + UINT16^I^I^Iu16;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1000: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:65: + UINT16^I^I^Iu16;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1001: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:66: + UINT32^I^I^Iu32;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1001: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:66: + UINT32^I^I^Iu32;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1002: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:67: + UINT64^I^I^Iu64;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1002: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:67: + UINT64^I^I^Iu64;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1003: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:68: + } data;$ ERROR:C99_COMMENTS: do not use C99 // comments #1008: FILE: windows/netuio/kernel/windows/netuio/netuio_interface.h:73: +#endif // NETUIO_INTERFACE_H WARNING:SPACING: space prohibited between function name and open parenthesis '(' #1022: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:8: +#pragma alloc_text (PAGE, netuio_queue_initialize) WARNING:LONG_LINE: line over 100 characters #1026: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:12: +netuio_handle_get_hw_data_request(_In_ WDFREQUEST Request, _In_ PNETUIO_CONTEXT_DATA netuio_contextdata, ERROR:CODE_INDENT: code indent should use tabs where possible #1027: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:13: + _In_ PVOID outputBuf, _In_ size_t outputBufSize)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1027: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:13: + _In_ PVOID outputBuf, _In_ size_t outputBufSize)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1029: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:15: + WDF_REQUEST_PARAMETERS params;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1030: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:16: + WDF_REQUEST_PARAMETERS_INIT(¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1031: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:17: + WdfRequestGetParameters(Request, ¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1033: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:19: + ASSERT(outputBufSize == sizeof(struct dpdk_private_info));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1035: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:21: + struct dpdk_private_info *dpdk_pvt_info = (struct dpdk_private_info *)outputBuf;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1036: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:22: + RtlZeroMemory(dpdk_pvt_info, outputBufSize);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1038: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:24: + for (ULONG idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1039: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:25: + dpdk_pvt_info->hw[idx].phys_addr.QuadPart = netuio_contextdata->bar[idx].base_addr.QuadPart;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1039: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:25: + dpdk_pvt_info->hw[idx].phys_addr.QuadPart = netuio_contextdata->bar[idx].base_addr.QuadPart;$ WARNING:LONG_LINE: line over 100 characters #1040: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:26: + dpdk_pvt_info->hw[idx].user_mapped_virt_addr = netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr; ERROR:CODE_INDENT: code indent should use tabs where possible #1040: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:26: + dpdk_pvt_info->hw[idx].user_mapped_virt_addr = netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1040: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:26: + dpdk_pvt_info->hw[idx].user_mapped_virt_addr = netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1041: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:27: + dpdk_pvt_info->hw[idx].size = netuio_contextdata->bar[idx].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1041: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:27: + dpdk_pvt_info->hw[idx].size = netuio_contextdata->bar[idx].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1042: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:28: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1044: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:30: + dpdk_pvt_info->ms.phys_addr.QuadPart = netuio_contextdata->dpdk_seg.mem.phys_addr.QuadPart;$ WARNING:LONG_LINE: line over 100 characters #1045: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:31: + dpdk_pvt_info->ms.user_mapped_virt_addr = netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr; WARNING:LEADING_SPACE: please, no spaces at the start of a line #1045: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:31: + dpdk_pvt_info->ms.user_mapped_virt_addr = netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1046: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:32: + dpdk_pvt_info->ms.size = netuio_contextdata->dpdk_seg.mem.size;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1050: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:36: +/* +Routine Description: WARNING:TYPO_SPELLING: 'process'' may be misspelled - perhaps 'process's'? #1051: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:37: + Maps address ranges into the usermode process's address space. The following ERROR:CODE_INDENT: code indent should use tabs where possible #1054: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:40: + * Any PCI BARs that our device was assigned$ ERROR:CODE_INDENT: code indent should use tabs where possible #1055: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:41: + * The scratch buffer of contiguous pages$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1063: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:49: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1065: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:51: + // Map the scratch memory regions to the user's process context$ ERROR:C99_COMMENTS: do not use C99 // comments #1065: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:51: + // Map the scratch memory regions to the user's process context WARNING:LEADING_SPACE: please, no spaces at the start of a line #1066: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:52: + MmBuildMdlForNonPagedPool(netuio_contextdata->dpdk_seg.mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1067: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:53: + __try {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1068: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:54: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr =$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1068: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:54: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr =$ ERROR:CODE_INDENT: code indent should use tabs where possible #1069: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:55: + MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_seg.mdl, UserMode,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1069: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:55: + MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_seg.mdl, UserMode,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1070: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:56: + MmCached, NULL, FALSE, NormalPagePriority);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1070: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:56: + MmCached, NULL, FALSE, NormalPagePriority);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1072: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:58: + if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1072: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:58: + if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1072: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:58: + 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 #1073: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:59: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1073: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:59: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1074: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:60: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1074: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:60: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1075: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:61: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1075: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:61: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1076: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:62: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1077: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:63: + __except (EXCEPTION_EXECUTE_HANDLER) {$ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #1077: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:63: + __except (EXCEPTION_EXECUTE_HANDLER) { ERROR:CODE_INDENT: code indent should use tabs where possible #1078: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:64: + status = GetExceptionCode();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1078: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:64: + status = GetExceptionCode();$ ERROR:CODE_INDENT: code indent should use tabs where possible #1079: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:65: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1079: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:65: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1080: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:66: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1082: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:68: + // Map any device BAR(s) to the user's process context$ ERROR:C99_COMMENTS: do not use C99 // comments #1082: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:68: + // Map any device BAR(s) to the user's process context WARNING:LEADING_SPACE: please, no spaces at the start of a line #1083: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:69: + for (INT idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1084: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:70: + if (netuio_contextdata->dpdk_hw[idx].mdl == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1084: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:70: + if (netuio_contextdata->dpdk_hw[idx].mdl == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1084: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:70: + if (netuio_contextdata->dpdk_hw[idx].mdl == NULL) { + continue; WARNING:BRACES: braces {} are not necessary for single statement blocks #1084: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:70: + if (netuio_contextdata->dpdk_hw[idx].mdl == NULL) { + continue; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1085: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:71: + continue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1085: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:71: + continue;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1086: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:72: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1086: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:72: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1088: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:74: + MmBuildMdlForNonPagedPool(netuio_contextdata->dpdk_hw[idx].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1088: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:74: + MmBuildMdlForNonPagedPool(netuio_contextdata->dpdk_hw[idx].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1089: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:75: + __try {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1089: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:75: + __try {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1090: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:76: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr =$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1090: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:76: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr =$ ERROR:CODE_INDENT: code indent should use tabs where possible #1091: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:77: + MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_hw[idx].mdl, UserMode,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1091: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:77: + MmMapLockedPagesSpecifyCache(netuio_contextdata->dpdk_hw[idx].mdl, UserMode,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1092: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:78: + MmCached, NULL, FALSE, NormalPagePriority);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1092: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:78: + MmCached, NULL, FALSE, NormalPagePriority);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1094: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:80: + if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1094: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:80: + if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1095: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:81: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1095: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:81: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1096: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:82: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1096: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:82: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1097: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:83: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1097: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:83: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1098: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:84: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1098: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:84: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1099: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:85: + __except (EXCEPTION_EXECUTE_HANDLER) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1099: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:85: + __except (EXCEPTION_EXECUTE_HANDLER) {$ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #1099: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:85: + __except (EXCEPTION_EXECUTE_HANDLER) { ERROR:CODE_INDENT: code indent should use tabs where possible #1100: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:86: + status = GetExceptionCode();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1100: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:86: + status = GetExceptionCode();$ ERROR:CODE_INDENT: code indent should use tabs where possible #1101: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:87: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1101: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:87: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1102: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:88: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1102: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:88: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1103: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:89: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1106: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:92: + if (status != STATUS_SUCCESS) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 16) #1106: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:92: + if (status != STATUS_SUCCESS) { + netuio_unmap_address_from_user_process(netuio_contextdata); WARNING:BRACES: braces {} are not necessary for single statement blocks #1106: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:92: + if (status != STATUS_SUCCESS) { + netuio_unmap_address_from_user_process(netuio_contextdata); + } WARNING:LEADING_SPACE: please, no spaces at the start of a line #1108: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:94: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1110: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:96: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1114: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:100: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1125: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:111: + if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr != NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1126: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:112: + MmUnmapLockedPages($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1126: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:112: + MmUnmapLockedPages($ ERROR:CODE_INDENT: code indent should use tabs where possible #1127: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:113: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1127: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:113: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1128: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:114: + netuio_contextdata->dpdk_seg.mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1128: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:114: + netuio_contextdata->dpdk_seg.mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1129: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:115: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1129: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:115: + netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1130: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:116: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1132: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:118: + for (INT idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1133: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:119: + if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1133: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:119: + if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1133: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:119: + if (netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) { + MmUnmapLockedPages( ERROR:CODE_INDENT: code indent should use tabs where possible #1134: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:120: + MmUnmapLockedPages($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1134: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:120: + MmUnmapLockedPages($ ERROR:CODE_INDENT: code indent should use tabs where possible #1135: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:121: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1135: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:121: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1136: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:122: + netuio_contextdata->dpdk_hw[idx].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1136: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:122: + netuio_contextdata->dpdk_hw[idx].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1137: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:123: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1137: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:123: + netuio_contextdata->dpdk_hw[idx].mem.user_mapped_virt_addr = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1138: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:124: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1138: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:124: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1139: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:125: + }$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1143: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:129: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1154: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:140: + WDFQUEUE queue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1155: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:141: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1156: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:142: + WDF_IO_QUEUE_CONFIG queueConfig;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1158: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:144: + PAGED_CODE();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1160: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:146: + // Configure a default queue so that requests that are not$ ERROR:C99_COMMENTS: do not use C99 // comments #1160: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:146: + // Configure a default queue so that requests that are not WARNING:TYPO_SPELLING: 'fowarded' may be misspelled - perhaps 'forwarded'? #1161: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:147: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto WARNING:LEADING_SPACE: please, no spaces at the start of a line #1161: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:147: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto$ ERROR:C99_COMMENTS: do not use C99 // comments #1161: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:147: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto WARNING:LEADING_SPACE: please, no spaces at the start of a line #1162: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:148: + // other queues get dispatched here.$ ERROR:C99_COMMENTS: do not use C99 // comments #1162: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:148: + // other queues get dispatched here. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1163: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:149: + WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&queueConfig, WdfIoQueueDispatchParallel);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1165: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:151: + queueConfig.EvtIoDeviceControl = netuio_evt_IO_device_control;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1166: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:152: + queueConfig.EvtIoStop = netuio_evt_IO_stop;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1168: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:154: + status = WdfIoQueueCreate(Device,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1169: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:155: + &queueConfig,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1169: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:155: + &queueConfig,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1170: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:156: + WDF_NO_OBJECT_ATTRIBUTES,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1170: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:156: + WDF_NO_OBJECT_ATTRIBUTES,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1171: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:157: + &queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1171: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:157: + &queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1173: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:159: + if( !NT_SUCCESS(status) ) {$ ERROR:SPACING: space prohibited after that open parenthesis '(' #1173: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:159: + if( !NT_SUCCESS(status) ) { ERROR:SPACING: space prohibited before that close parenthesis ')' #1173: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:159: + if( !NT_SUCCESS(status) ) { ERROR:SPACING: space required before the open parenthesis '(' #1173: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:159: + if( !NT_SUCCESS(status) ) { WARNING:BRACES: braces {} are not necessary for single statement blocks #1173: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:159: + if( !NT_SUCCESS(status) ) { + return status; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1174: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:160: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1174: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:160: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1175: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:161: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1177: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:163: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1181: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:167: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1191: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:177: + IN WDFDEVICE Device,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1192: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:178: + IN WDFREQUEST Request$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1195: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:181: + WDF_REQUEST_PARAMETERS params = { 0 };$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1196: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:182: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1197: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:183: + PVOID input_buf = NULL, output_buf = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1198: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:184: + size_t input_buf_size, output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1199: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:185: + size_t bytes_returned = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1200: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:186: + PNETUIO_CONTEXT_DATA netuio_contextdata = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1202: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:188: + netuio_contextdata = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1204: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:190: + WDF_REQUEST_PARAMETERS_INIT(¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1205: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:191: + WdfRequestGetParameters(Request, ¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1207: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:193: + // We only need to be in the context of the process that initiated the request$ ERROR:C99_COMMENTS: do not use C99 // comments #1207: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:193: + // We only need to be in the context of the process that initiated the request WARNING:LEADING_SPACE: please, no spaces at the start of a line #1208: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:194: + //when we need to map memory to userspace. Otherwise, send the request back to framework.$ ERROR:C99_COMMENTS: do not use C99 // comments #1208: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:194: + //when we need to map memory to userspace. Otherwise, send the request back to framework. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1209: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:195: + if (!((params.Type == WdfRequestTypeDeviceControl) &&$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1209: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:195: + if (!((params.Type == WdfRequestTypeDeviceControl) && + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE))) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1210: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:196: + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE)))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1210: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:196: + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE)))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1211: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:197: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1212: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:198: + status = WdfDeviceEnqueueRequest(Device, Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1212: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:198: + status = WdfDeviceEnqueueRequest(Device, Request);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1214: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:200: + if (!NT_SUCCESS(status))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1214: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:200: + if (!NT_SUCCESS(status))$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1214: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:200: + if (!NT_SUCCESS(status)) + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1214: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:200: + if (!NT_SUCCESS(status)) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1215: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:201: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1215: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:201: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1216: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:202: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1216: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:202: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1217: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:203: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1217: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:203: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1218: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:204: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1218: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:204: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1219: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:205: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1221: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:207: + // First retrieve the input buffer and see if it matches our device$ ERROR:C99_COMMENTS: do not use C99 // comments #1221: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:207: + // First retrieve the input buffer and see if it matches our device WARNING:LONG_LINE: line over 100 characters #1222: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:208: + status = WdfRequestRetrieveInputBuffer(Request, sizeof(struct dpdk_private_info), &input_buf, &input_buf_size); WARNING:LEADING_SPACE: please, no spaces at the start of a line #1222: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:208: + status = WdfRequestRetrieveInputBuffer(Request, sizeof(struct dpdk_private_info), &input_buf, &input_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1223: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:209: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1224: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:210: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1224: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:210: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1225: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:211: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1225: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:211: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1226: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:212: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1228: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:214: + struct dpdk_private_info* dpdk_pvt_info = (struct dpdk_private_info*)input_buf;$ ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)" #1228: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:214: + struct dpdk_private_info* dpdk_pvt_info = (struct dpdk_private_info*)input_buf; ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" #1228: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:214: + struct dpdk_private_info* dpdk_pvt_info = (struct dpdk_private_info*)input_buf; WARNING:LEADING_SPACE: please, no spaces at the start of a line #1229: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:215: + // Ensure that the B:D:F match - otherwise, fail the IOCTL$ ERROR:C99_COMMENTS: do not use C99 // comments #1229: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:215: + // Ensure that the B:D:F match - otherwise, fail the IOCTL WARNING:LEADING_SPACE: please, no spaces at the start of a line #1230: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:216: + if ((netuio_contextdata->addr.bus_num != dpdk_pvt_info->dev_addr.bus_num) ||$ ERROR:CODE_INDENT: code indent should use tabs where possible #1231: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:217: + (netuio_contextdata->addr.dev_num != dpdk_pvt_info->dev_addr.dev_num) ||$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1231: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:217: + (netuio_contextdata->addr.dev_num != dpdk_pvt_info->dev_addr.dev_num) ||$ ERROR:CODE_INDENT: code indent should use tabs where possible #1232: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:218: + (netuio_contextdata->addr.func_num != dpdk_pvt_info->dev_addr.func_num)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1232: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:218: + (netuio_contextdata->addr.func_num != dpdk_pvt_info->dev_addr.func_num)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1233: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:219: + status = STATUS_NOT_SAME_DEVICE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1233: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:219: + status = STATUS_NOT_SAME_DEVICE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1234: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:220: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1234: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:220: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1235: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:221: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1237: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:223: + if (netuio_contextdata->dpdk_seg.mem.user_mapped_virt_addr != NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1238: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:224: + status = STATUS_ALREADY_COMMITTED;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1238: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:224: + status = STATUS_ALREADY_COMMITTED;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1239: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:225: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1239: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:225: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1240: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:226: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1242: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:228: + // Return relevant data to the caller$ ERROR:C99_COMMENTS: do not use C99 // comments #1242: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:228: + // Return relevant data to the caller WARNING:LONG_LINE: line over 100 characters #1243: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:229: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(struct dpdk_private_info), &output_buf, &output_buf_size); WARNING:LEADING_SPACE: please, no spaces at the start of a line #1243: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:229: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(struct dpdk_private_info), &output_buf, &output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1244: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:230: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1245: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:231: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1245: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:231: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1246: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:232: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1246: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:232: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1247: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:233: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1249: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:235: + // Zero out the physically contiguous block$ ERROR:C99_COMMENTS: do not use C99 // comments #1249: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:235: + // Zero out the physically contiguous block WARNING:LONG_LINE: line over 100 characters #1250: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:236: + RtlZeroMemory(netuio_contextdata->dpdk_seg.mem.virt_addr, netuio_contextdata->dpdk_seg.mem.size); WARNING:LEADING_SPACE: please, no spaces at the start of a line #1250: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:236: + RtlZeroMemory(netuio_contextdata->dpdk_seg.mem.virt_addr, netuio_contextdata->dpdk_seg.mem.size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1252: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:238: + status = netuio_map_address_into_user_process(netuio_contextdata);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1253: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:239: + if (status != STATUS_SUCCESS) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #1253: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:239: + if (status != STATUS_SUCCESS) { + goto end; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1254: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:240: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1254: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:240: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1255: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:241: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1257: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:243: + netuio_handle_get_hw_data_request(Request, netuio_contextdata, output_buf, output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1258: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:244: + bytes_returned = output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1261: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:247: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1263: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:249: + return;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1267: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:253: +/* +Routine Description: ERROR:CODE_INDENT: code indent should use tabs where possible #1275: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:261: + _In_ size_t OutputBufferLength, _In_ size_t InputBufferLength,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1275: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:261: + _In_ size_t OutputBufferLength, _In_ size_t InputBufferLength,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1276: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:262: + _In_ ULONG IoControlCode)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1276: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:262: + _In_ ULONG IoControlCode)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1278: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:264: + UNREFERENCED_PARAMETER(OutputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1279: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:265: + UNREFERENCED_PARAMETER(InputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1281: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:267: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1282: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:268: + PVOID input_buf = NULL, output_buf = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1283: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:269: + size_t input_buf_size, output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1284: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:270: + size_t bytes_returned = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1286: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:272: + WDFDEVICE device = WdfIoQueueGetDevice(Queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1288: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:274: + PNETUIO_CONTEXT_DATA netuio_contextdata;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1289: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:275: + netuio_contextdata = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1291: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:277: + if (IoControlCode != IOCTL_NETUIO_PCI_CONFIG_IO)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1291: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:277: + if (IoControlCode != IOCTL_NETUIO_PCI_CONFIG_IO) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1292: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:278: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1293: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:279: + status = STATUS_INVALID_DEVICE_REQUEST;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1293: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:279: + status = STATUS_INVALID_DEVICE_REQUEST;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1294: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:280: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1294: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:280: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1295: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:281: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1297: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:283: + // First retrieve the input buffer and see if it matches our device$ ERROR:C99_COMMENTS: do not use C99 // comments #1297: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:283: + // First retrieve the input buffer and see if it matches our device WARNING:LONG_LINE: line over 100 characters #1298: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:284: + status = WdfRequestRetrieveInputBuffer(Request, sizeof(struct dpdk_pci_config_io), &input_buf, &input_buf_size); WARNING:LEADING_SPACE: please, no spaces at the start of a line #1298: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:284: + status = WdfRequestRetrieveInputBuffer(Request, sizeof(struct dpdk_pci_config_io), &input_buf, &input_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1299: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:285: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1300: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:286: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1300: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:286: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1301: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:287: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1301: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:287: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1302: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:288: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1304: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:290: + struct dpdk_pci_config_io *dpdk_pci_io_input = (struct dpdk_pci_config_io *)input_buf;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1306: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:292: + if (dpdk_pci_io_input->access_size != 1 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1307: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:293: + dpdk_pci_io_input->access_size != 2 &&$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1307: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:293: + dpdk_pci_io_input->access_size != 2 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1308: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:294: + dpdk_pci_io_input->access_size != 4 &&$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1308: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:294: + dpdk_pci_io_input->access_size != 4 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1309: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:295: + dpdk_pci_io_input->access_size != 8) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1309: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:295: + dpdk_pci_io_input->access_size != 8) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1310: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:296: + status = STATUS_INVALID_PARAMETER;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1310: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:296: + status = STATUS_INVALID_PARAMETER;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1311: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:297: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1311: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:297: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1312: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:298: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1314: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:300: + // Ensure that the B:D:F match - otherwise, fail the IOCTL$ ERROR:C99_COMMENTS: do not use C99 // comments #1314: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:300: + // Ensure that the B:D:F match - otherwise, fail the IOCTL WARNING:LEADING_SPACE: please, no spaces at the start of a line #1315: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:301: + if ((netuio_contextdata->addr.bus_num != dpdk_pci_io_input->dev_addr.bus_num) ||$ ERROR:CODE_INDENT: code indent should use tabs where possible #1316: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:302: + (netuio_contextdata->addr.dev_num != dpdk_pci_io_input->dev_addr.dev_num) ||$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1316: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:302: + (netuio_contextdata->addr.dev_num != dpdk_pci_io_input->dev_addr.dev_num) ||$ ERROR:CODE_INDENT: code indent should use tabs where possible #1317: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:303: + (netuio_contextdata->addr.func_num != dpdk_pci_io_input->dev_addr.func_num)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1317: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:303: + (netuio_contextdata->addr.func_num != dpdk_pci_io_input->dev_addr.func_num)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1318: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:304: + status = STATUS_NOT_SAME_DEVICE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1318: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:304: + status = STATUS_NOT_SAME_DEVICE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1319: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:305: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1319: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:305: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1320: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:306: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1321: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:307: + // Retrieve output buffer$ ERROR:C99_COMMENTS: do not use C99 // comments #1321: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:307: + // Retrieve output buffer WARNING:LEADING_SPACE: please, no spaces at the start of a line #1322: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:308: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(UINT64), &output_buf, &output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1323: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:309: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1324: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:310: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1324: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:310: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1325: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:311: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1325: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:311: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1326: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:312: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1327: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:313: + ASSERT(output_buf_size == OutputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1329: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:315: + if (dpdk_pci_io_input->op == PCI_IO_READ) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1330: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:316: + *(UINT64 *)output_buf = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1330: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:316: + *(UINT64 *)output_buf = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1331: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:317: + bytes_returned = netuio_contextdata->bus_interface.GetBusData($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1331: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:317: + bytes_returned = netuio_contextdata->bus_interface.GetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #1332: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:318: + netuio_contextdata->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1332: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:318: + netuio_contextdata->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1333: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:319: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1333: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:319: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1334: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:320: + output_buf,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1334: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:320: + output_buf,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1335: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:321: + dpdk_pci_io_input->offset,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1335: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:321: + dpdk_pci_io_input->offset,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1336: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:322: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1336: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:322: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1337: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:323: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1338: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:324: + else if (dpdk_pci_io_input->op == PCI_IO_WRITE) {$ ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #1338: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:324: + } + else if (dpdk_pci_io_input->op == PCI_IO_WRITE) { ERROR:CODE_INDENT: code indent should use tabs where possible #1339: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:325: + // returns bytes written$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1339: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:325: + // returns bytes written$ ERROR:C99_COMMENTS: do not use C99 // comments #1339: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:325: + // returns bytes written ERROR:CODE_INDENT: code indent should use tabs where possible #1340: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:326: + bytes_returned = netuio_contextdata->bus_interface.SetBusData($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1340: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:326: + bytes_returned = netuio_contextdata->bus_interface.SetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #1341: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:327: + netuio_contextdata->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1341: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:327: + netuio_contextdata->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1342: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:328: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1342: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:328: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1343: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:329: + (PVOID)&dpdk_pci_io_input->data,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1343: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:329: + (PVOID)&dpdk_pci_io_input->data,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1344: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:330: + dpdk_pci_io_input->offset,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1344: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:330: + dpdk_pci_io_input->offset,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1345: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:331: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1345: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:331: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1346: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:332: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1347: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:333: + else {$ ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #1347: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:333: + } + else { ERROR:CODE_INDENT: code indent should use tabs where possible #1348: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:334: + status = STATUS_INVALID_PARAMETER;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1348: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:334: + status = STATUS_INVALID_PARAMETER;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1349: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:335: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1349: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:335: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1350: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:336: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1353: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:339: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1355: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:341: + return;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1359: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:345: +/* +Routine Description: ERROR:SPACING: space required after that ',' (ctx:VxV) #1366: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:352: +netuio_evt_IO_stop(_In_ WDFQUEUE Queue, _In_ WDFREQUEST Request,_In_ ULONG ActionFlags) ^ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1368: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:354: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1368: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:354: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1369: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:355: + // In most cases, the EvtIoStop callback function completes, cancels, or postpones$ ERROR:C99_COMMENTS: do not use C99 // comments #1369: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:355: + // In most cases, the EvtIoStop callback function completes, cancels, or postpones WARNING:LEADING_SPACE: please, no spaces at the start of a line #1370: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:356: + // further processing of the I/O request.$ ERROR:C99_COMMENTS: do not use C99 // comments #1370: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:356: + // further processing of the I/O request. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1371: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:357: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1371: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:357: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1372: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:358: + // Typically, the driver uses the following rules:$ ERROR:C99_COMMENTS: do not use C99 // comments #1372: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:358: + // Typically, the driver uses the following rules: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1373: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:359: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1373: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:359: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1374: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:360: + // - If the driver owns the I/O request, it calls WdfRequestUnmarkCancelable$ ERROR:C99_COMMENTS: do not use C99 // comments #1374: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:360: + // - If the driver owns the I/O request, it calls WdfRequestUnmarkCancelable WARNING:LEADING_SPACE: please, no spaces at the start of a line #1375: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:361: + // (if the request is cancelable) and either calls WdfRequestStopAcknowledge$ ERROR:C99_COMMENTS: do not use C99 // comments #1375: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:361: + // (if the request is cancelable) and either calls WdfRequestStopAcknowledge WARNING:LEADING_SPACE: please, no spaces at the start of a line #1376: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:362: + // with a Requeue value of TRUE, or it calls WdfRequestComplete with a$ ERROR:C99_COMMENTS: do not use C99 // comments #1376: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:362: + // with a Requeue value of TRUE, or it calls WdfRequestComplete with a WARNING:LEADING_SPACE: please, no spaces at the start of a line #1377: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:363: + // completion status value of STATUS_SUCCESS or STATUS_CANCELLED.$ ERROR:C99_COMMENTS: do not use C99 // comments #1377: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:363: + // completion status value of STATUS_SUCCESS or STATUS_CANCELLED. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1378: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:364: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1378: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:364: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1379: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:365: + // Before it can call these methods safely, the driver must make sure that$ ERROR:C99_COMMENTS: do not use C99 // comments #1379: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:365: + // Before it can call these methods safely, the driver must make sure that WARNING:LEADING_SPACE: please, no spaces at the start of a line #1380: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:366: + // its implementation of EvtIoStop has exclusive access to the request.$ ERROR:C99_COMMENTS: do not use C99 // comments #1380: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:366: + // its implementation of EvtIoStop has exclusive access to the request. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1381: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:367: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1381: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:367: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1382: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:368: + // In order to do that, the driver must synchronize access to the request$ ERROR:C99_COMMENTS: do not use C99 // comments #1382: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:368: + // In order to do that, the driver must synchronize access to the request WARNING:LEADING_SPACE: please, no spaces at the start of a line #1383: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:369: + // to prevent other threads from manipulating the request concurrently.$ ERROR:C99_COMMENTS: do not use C99 // comments #1383: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:369: + // to prevent other threads from manipulating the request concurrently. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1384: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:370: + // The synchronization method you choose will depend on your driver's design.$ ERROR:C99_COMMENTS: do not use C99 // comments #1384: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:370: + // The synchronization method you choose will depend on your driver's design. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1385: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:371: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1385: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:371: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1386: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:372: + // For example, if the request is held in a shared context, the EvtIoStop callback$ ERROR:C99_COMMENTS: do not use C99 // comments #1386: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:372: + // For example, if the request is held in a shared context, the EvtIoStop callback WARNING:LEADING_SPACE: please, no spaces at the start of a line #1387: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:373: + // might acquire an internal driver lock, take the request from the shared context,$ ERROR:C99_COMMENTS: do not use C99 // comments #1387: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:373: + // might acquire an internal driver lock, take the request from the shared context, WARNING:LEADING_SPACE: please, no spaces at the start of a line #1388: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:374: + // and then release the lock. At this point, the EvtIoStop callback owns the request$ ERROR:C99_COMMENTS: do not use C99 // comments #1388: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:374: + // and then release the lock. At this point, the EvtIoStop callback owns the request WARNING:LEADING_SPACE: please, no spaces at the start of a line #1389: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:375: + // and can safely complete or requeue the request.$ ERROR:C99_COMMENTS: do not use C99 // comments #1389: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:375: + // and can safely complete or requeue the request. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1390: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:376: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1390: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:376: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1391: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:377: + // - If the driver has forwarded the I/O request to an I/O target, it either calls$ ERROR:C99_COMMENTS: do not use C99 // comments #1391: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:377: + // - If the driver has forwarded the I/O request to an I/O target, it either calls WARNING:LEADING_SPACE: please, no spaces at the start of a line #1392: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:378: + // WdfRequestCancelSentRequest to attempt to cancel the request, or it postpones$ ERROR:C99_COMMENTS: do not use C99 // comments #1392: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:378: + // WdfRequestCancelSentRequest to attempt to cancel the request, or it postpones WARNING:LEADING_SPACE: please, no spaces at the start of a line #1393: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:379: + // further processing of the request and calls WdfRequestStopAcknowledge with$ ERROR:C99_COMMENTS: do not use C99 // comments #1393: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:379: + // further processing of the request and calls WdfRequestStopAcknowledge with WARNING:LEADING_SPACE: please, no spaces at the start of a line #1394: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:380: + // a Requeue value of FALSE.$ ERROR:C99_COMMENTS: do not use C99 // comments #1394: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:380: + // a Requeue value of FALSE. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1395: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:381: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1395: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:381: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1396: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:382: + // A driver might choose to take no action in EvtIoStop for requests that are$ ERROR:C99_COMMENTS: do not use C99 // comments #1396: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:382: + // A driver might choose to take no action in EvtIoStop for requests that are WARNING:LEADING_SPACE: please, no spaces at the start of a line #1397: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:383: + // guaranteed to complete in a small amount of time.$ ERROR:C99_COMMENTS: do not use C99 // comments #1397: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:383: + // guaranteed to complete in a small amount of time. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1398: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:384: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1398: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:384: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1399: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:385: + // In this case, the framework waits until the specified request is complete$ ERROR:C99_COMMENTS: do not use C99 // comments #1399: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:385: + // In this case, the framework waits until the specified request is complete WARNING:LEADING_SPACE: please, no spaces at the start of a line #1400: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:386: + // before moving the device (or system) to a lower power state or removing the device.$ ERROR:C99_COMMENTS: do not use C99 // comments #1400: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:386: + // before moving the device (or system) to a lower power state or removing the device. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1401: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:387: + // Potentially, this inaction can prevent a system from entering its hibernation state$ ERROR:C99_COMMENTS: do not use C99 // comments #1401: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:387: + // Potentially, this inaction can prevent a system from entering its hibernation state WARNING:LEADING_SPACE: please, no spaces at the start of a line #1402: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:388: + // or another low system power state. In extreme cases, it can cause the system$ ERROR:C99_COMMENTS: do not use C99 // comments #1402: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:388: + // or another low system power state. In extreme cases, it can cause the system WARNING:LEADING_SPACE: please, no spaces at the start of a line #1403: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:389: + // to crash with bugcheck code 9F.$ ERROR:C99_COMMENTS: do not use C99 // comments #1403: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:389: + // to crash with bugcheck code 9F. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1404: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:390: + //$ ERROR:C99_COMMENTS: do not use C99 // comments #1404: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:390: + // WARNING:LEADING_SPACE: please, no spaces at the start of a line #1405: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:391: + UNREFERENCED_PARAMETER(Queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1406: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:392: + UNREFERENCED_PARAMETER(Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1407: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:393: + UNREFERENCED_PARAMETER(ActionFlags);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1409: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.c:395: + return;$ ERROR:C99_COMMENTS: do not use C99 // comments #1427: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.h:10: +// This is the context that can be placed per queue and would contain per queue information. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1429: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.h:12: + ULONG PrivateDeviceData; // just a placeholder$ ERROR:C99_COMMENTS: do not use C99 // comments #1429: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.h:12: + ULONG PrivateDeviceData; // just a placeholder ERROR:C99_COMMENTS: do not use C99 // comments #1440: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.h:23: +// Events from the IoQueue object ERROR:C99_COMMENTS: do not use C99 // comments #1448: FILE: windows/netuio/kernel/windows/netuio/netuio_queue.h:31: +#endif // NETUIO_QUEUE_H ERROR:C99_COMMENTS: do not use C99 // comments #1455: FILE: windows/netuio/kernel/windows/netuio/resource.h:1: +//{{NO_DEPENDENCIES}} ERROR:C99_COMMENTS: do not use C99 // comments #1456: FILE: windows/netuio/kernel/windows/netuio/resource.h:2: +// Microsoft Visual C++ generated include file. ERROR:C99_COMMENTS: do not use C99 // comments #1457: FILE: windows/netuio/kernel/windows/netuio/resource.h:3: +// Used by netuio.rc ERROR:C99_COMMENTS: do not use C99 // comments #1459: FILE: windows/netuio/kernel/windows/netuio/resource.h:5: +// Next default values for new objects ERROR:TRAILING_WHITESPACE: trailing whitespace #1460: FILE: windows/netuio/kernel/windows/netuio/resource.h:6: +// $ ERROR:C99_COMMENTS: do not use C99 // comments #1460: FILE: windows/netuio/kernel/windows/netuio/resource.h:6: +// total: 397 errors, 666 warnings, 1492 lines checked