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 83936A04B5 for ; Wed, 9 Sep 2020 20:43:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76BDD1BE0C; Wed, 9 Sep 2020 20:43:36 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id A3F711BF8E; Wed, 9 Sep 2020 20:43:34 +0200 (CEST) In-Reply-To: <1599676883-11991-1-git-send-email-navasile@linux.microsoft.com> References: <1599676883-11991-1-git-send-email-navasile@linux.microsoft.com> To: test-report@dpdk.org Cc: Narcisa Ana Maria Vasile Message-Id: <20200909184334.A3F711BF8E@dpdk.org> Date: Wed, 9 Sep 2020 20:43:34 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw77082 [PATCH v3] 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/77082 _coding style issues_ ERROR:TRAILING_WHITESPACE: trailing whitespace #201: FILE: windows/netuio/README.rst:29: +Follow the steps below to build the NetUIO driver and install the driver for the network adapter. $ ERROR:TRAILING_WHITESPACE: trailing whitespace #208: FILE: windows/netuio/README.rst:36: + $ ERROR:TRAILING_WHITESPACE: trailing whitespace #220: FILE: windows/netuio/README.rst:48: +Windows displays the text “Test Mode” to remind users the system has test-signing enabled. $ ERROR:TRAILING_WHITESPACE: trailing whitespace #222: FILE: windows/netuio/README.rst:50: + $ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #541: FILE: windows/netuio/netuio_dev.c:11: +#pragma alloc_text (PAGE, netuio_create_device) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #542: FILE: windows/netuio/netuio_dev.c:12: +#pragma alloc_text (PAGE, netuio_map_hw_resources) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #543: FILE: windows/netuio/netuio_dev.c:13: +#pragma alloc_text (PAGE, netuio_free_hw_resources) WARNING:LEADING_SPACE: please, no spaces at the start of a line #549: FILE: windows/netuio/netuio_dev.c:19: + NTSTATUS status = STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #551: FILE: windows/netuio/netuio_dev.c:21: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #552: FILE: windows/netuio/netuio_dev.c:22: + ctx = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #554: FILE: windows/netuio/netuio_dev.c:24: + if (!ctx)$ ERROR:CODE_INDENT: code indent should use tabs where possible #555: FILE: windows/netuio/netuio_dev.c:25: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #555: FILE: windows/netuio/netuio_dev.c:25: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #557: FILE: windows/netuio/netuio_dev.c:27: + ctx->wdf_device = device; // Store for later use$ ERROR:C99_COMMENTS: do not use C99 // comments #557: FILE: windows/netuio/netuio_dev.c:27: + ctx->wdf_device = device; // Store for later use WARNING:LEADING_SPACE: please, no spaces at the start of a line #559: FILE: windows/netuio/netuio_dev.c:29: + // Obtain the BUS_INTERFACE_STANDARD interface from the Bus Driver$ ERROR:C99_COMMENTS: do not use C99 // comments #559: FILE: windows/netuio/netuio_dev.c:29: + // Obtain the BUS_INTERFACE_STANDARD interface from the Bus Driver WARNING:LEADING_SPACE: please, no spaces at the start of a line #560: FILE: windows/netuio/netuio_dev.c:30: + status = WdfFdoQueryForInterface(device, &GUID_BUS_INTERFACE_STANDARD,$ ERROR:CODE_INDENT: code indent should use tabs where possible #561: FILE: windows/netuio/netuio_dev.c:31: + (PINTERFACE)&ctx->bus_interface,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #561: FILE: windows/netuio/netuio_dev.c:31: + (PINTERFACE)&ctx->bus_interface,$ ERROR:CODE_INDENT: code indent should use tabs where possible #562: FILE: windows/netuio/netuio_dev.c:32: + sizeof(BUS_INTERFACE_STANDARD), 1, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #562: FILE: windows/netuio/netuio_dev.c:32: + sizeof(BUS_INTERFACE_STANDARD), 1, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #563: FILE: windows/netuio/netuio_dev.c:33: + if (!NT_SUCCESS(status))$ ERROR:CODE_INDENT: code indent should use tabs where possible #564: FILE: windows/netuio/netuio_dev.c:34: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #564: FILE: windows/netuio/netuio_dev.c:34: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #566: FILE: windows/netuio/netuio_dev.c:36: + // Retrieve the B:D:F details of our device$ ERROR:C99_COMMENTS: do not use C99 // comments #566: FILE: windows/netuio/netuio_dev.c:36: + // Retrieve the B:D:F details of our device WARNING:LEADING_SPACE: please, no spaces at the start of a line #567: FILE: windows/netuio/netuio_dev.c:37: + PDEVICE_OBJECT pdo = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #568: FILE: windows/netuio/netuio_dev.c:38: + pdo = WdfDeviceWdmGetPhysicalDevice(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #569: FILE: windows/netuio/netuio_dev.c:39: + if (pdo) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #570: FILE: windows/netuio/netuio_dev.c:40: + ULONG prop = 0, length = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #570: FILE: windows/netuio/netuio_dev.c:40: + ULONG prop = 0, length = 0;$ WARNING:LONG_LINE: line over 100 characters #571: FILE: windows/netuio/netuio_dev.c:41: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&ctx->addr.bus_num, &length); ERROR:CODE_INDENT: code indent should use tabs where possible #571: FILE: windows/netuio/netuio_dev.c:41: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&ctx->addr.bus_num, &length);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #571: FILE: windows/netuio/netuio_dev.c:41: + status = IoGetDeviceProperty(pdo, DevicePropertyBusNumber, sizeof(ULONG), (PVOID)&ctx->addr.bus_num, &length);$ WARNING:LONG_LINE: line over 100 characters #572: FILE: windows/netuio/netuio_dev.c:42: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length); ERROR:CODE_INDENT: code indent should use tabs where possible #572: FILE: windows/netuio/netuio_dev.c:42: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #572: FILE: windows/netuio/netuio_dev.c:42: + status = IoGetDeviceProperty(pdo, DevicePropertyAddress, sizeof(ULONG), (PVOID)&prop, &length);$ ERROR:CODE_INDENT: code indent should use tabs where possible #574: FILE: windows/netuio/netuio_dev.c:44: + if (NT_SUCCESS(status)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #574: FILE: windows/netuio/netuio_dev.c:44: + if (NT_SUCCESS(status)) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #574: FILE: windows/netuio/netuio_dev.c:44: + if (NT_SUCCESS(status)) { + ctx->addr.func_num = prop & 0x0000FFFF; ERROR:CODE_INDENT: code indent should use tabs where possible #575: FILE: windows/netuio/netuio_dev.c:45: + ctx->addr.func_num = prop & 0x0000FFFF;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #575: FILE: windows/netuio/netuio_dev.c:45: + ctx->addr.func_num = prop & 0x0000FFFF;$ ERROR:CODE_INDENT: code indent should use tabs where possible #576: FILE: windows/netuio/netuio_dev.c:46: + ctx->addr.dev_num = ((prop >> 16) & 0x0000FFFF);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #576: FILE: windows/netuio/netuio_dev.c:46: + ctx->addr.dev_num = ((prop >> 16) & 0x0000FFFF);$ ERROR:CODE_INDENT: code indent should use tabs where possible #577: FILE: windows/netuio/netuio_dev.c:47: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #577: FILE: windows/netuio/netuio_dev.c:47: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #578: FILE: windows/netuio/netuio_dev.c:48: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #580: FILE: windows/netuio/netuio_dev.c:50: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #586: FILE: windows/netuio/netuio_dev.c:56: + NTSTATUS status = STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #587: FILE: windows/netuio/netuio_dev.c:57: + UNICODE_STRING netuio_symbolic_link;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #589: FILE: windows/netuio/netuio_dev.c:59: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #590: FILE: windows/netuio/netuio_dev.c:60: + ctx = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #592: FILE: windows/netuio/netuio_dev.c:62: + if (!ctx)$ ERROR:CODE_INDENT: code indent should use tabs where possible #593: FILE: windows/netuio/netuio_dev.c:63: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #593: FILE: windows/netuio/netuio_dev.c:63: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #595: FILE: windows/netuio/netuio_dev.c:65: + // Build symbolic link name as _BDF (bus/device/func)$ ERROR:C99_COMMENTS: do not use C99 // comments #595: FILE: windows/netuio/netuio_dev.c:65: + // Build symbolic link name as _BDF (bus/device/func) WARNING:LEADING_SPACE: please, no spaces at the start of a line #596: FILE: windows/netuio/netuio_dev.c:66: + CHAR symbolic_link[64] = { 0 };$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #597: FILE: windows/netuio/netuio_dev.c:67: + sprintf_s(symbolic_link, sizeof(symbolic_link), "%s_%04d%02d%02d",$ ERROR:CODE_INDENT: code indent should use tabs where possible #598: FILE: windows/netuio/netuio_dev.c:68: + NETUIO_DEVICE_SYMBOLIC_LINK_ANSI, ctx->addr.bus_num,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #598: FILE: windows/netuio/netuio_dev.c:68: + NETUIO_DEVICE_SYMBOLIC_LINK_ANSI, ctx->addr.bus_num,$ ERROR:CODE_INDENT: code indent should use tabs where possible #599: FILE: windows/netuio/netuio_dev.c:69: + ctx->addr.dev_num, ctx->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #599: FILE: windows/netuio/netuio_dev.c:69: + ctx->addr.dev_num, ctx->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #601: FILE: windows/netuio/netuio_dev.c:71: + ANSI_STRING ansi_symbolic_link;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #602: FILE: windows/netuio/netuio_dev.c:72: + RtlInitAnsiString(&ansi_symbolic_link, symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #604: FILE: windows/netuio/netuio_dev.c:74: + status = RtlAnsiStringToUnicodeString(&netuio_symbolic_link, &ansi_symbolic_link, TRUE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #605: FILE: windows/netuio/netuio_dev.c:75: + if (!NT_SUCCESS(status))$ ERROR:CODE_INDENT: code indent should use tabs where possible #606: FILE: windows/netuio/netuio_dev.c:76: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #606: FILE: windows/netuio/netuio_dev.c:76: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #608: FILE: windows/netuio/netuio_dev.c:78: + status = WdfDeviceCreateSymbolicLink(device, &netuio_symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #610: FILE: windows/netuio/netuio_dev.c:80: + RtlFreeUnicodeString(&netuio_symbolic_link);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #612: FILE: windows/netuio/netuio_dev.c:82: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #616: FILE: windows/netuio/netuio_dev.c:86: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #626: FILE: windows/netuio/netuio_dev.c:96: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #627: FILE: windows/netuio/netuio_dev.c:97: + WDFDEVICE device = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #629: FILE: windows/netuio/netuio_dev.c:99: + WDF_OBJECT_ATTRIBUTES deviceAttributes;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #630: FILE: windows/netuio/netuio_dev.c:100: + WDF_PNPPOWER_EVENT_CALLBACKS pnpPowerCallbacks;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #631: FILE: windows/netuio/netuio_dev.c:101: + WDF_FILEOBJECT_CONFIG fileConfig;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #632: FILE: windows/netuio/netuio_dev.c:102: + WDF_OBJECT_ATTRIBUTES fileAttributes;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #634: FILE: windows/netuio/netuio_dev.c:104: + PAGED_CODE();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #636: FILE: windows/netuio/netuio_dev.c:106: + // Register PnP power management callbacks$ ERROR:C99_COMMENTS: do not use C99 // comments #636: FILE: windows/netuio/netuio_dev.c:106: + // Register PnP power management callbacks WARNING:LEADING_SPACE: please, no spaces at the start of a line #637: FILE: windows/netuio/netuio_dev.c:107: + WDF_PNPPOWER_EVENT_CALLBACKS_INIT(&pnpPowerCallbacks);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #638: FILE: windows/netuio/netuio_dev.c:108: + pnpPowerCallbacks.EvtDevicePrepareHardware = netuio_evt_prepare_hw;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #639: FILE: windows/netuio/netuio_dev.c:109: + pnpPowerCallbacks.EvtDeviceReleaseHardware = netuio_evt_release_hw;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #640: FILE: windows/netuio/netuio_dev.c:110: + WdfDeviceInitSetPnpPowerEventCallbacks(DeviceInit, &pnpPowerCallbacks);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #642: FILE: windows/netuio/netuio_dev.c:112: + // Register callbacks for when a HANDLE is opened or closed.$ ERROR:C99_COMMENTS: do not use C99 // comments #642: FILE: windows/netuio/netuio_dev.c:112: + // Register callbacks for when a HANDLE is opened or closed. WARNING:LEADING_SPACE: please, no spaces at the start of a line #643: FILE: windows/netuio/netuio_dev.c:113: + WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&fileAttributes, NETUIO_FILE_CONTEXT_DATA);$ WARNING:LONG_LINE: line over 100 characters #644: FILE: windows/netuio/netuio_dev.c:114: + 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 #644: FILE: windows/netuio/netuio_dev.c:114: + 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 #645: FILE: windows/netuio/netuio_dev.c:115: + WdfDeviceInitSetFileObjectConfig(DeviceInit, &fileConfig, &fileAttributes);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #647: FILE: windows/netuio/netuio_dev.c:117: + WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&deviceAttributes, NETUIO_CONTEXT_DATA);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #648: FILE: windows/netuio/netuio_dev.c:118: + WdfDeviceInitSetIoInCallerContextCallback(DeviceInit, netuio_evt_IO_in_caller_context);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #650: FILE: windows/netuio/netuio_dev.c:120: + status = WdfDeviceCreate(&DeviceInit, &deviceAttributes, &device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #652: FILE: windows/netuio/netuio_dev.c:122: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #653: FILE: windows/netuio/netuio_dev.c:123: + // 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 #653: FILE: windows/netuio/netuio_dev.c:123: + // Create a device interface so that applications can find and talk to us.$ ERROR:C99_COMMENTS: do not use C99 // comments #653: FILE: windows/netuio/netuio_dev.c:123: + // Create a device interface so that applications can find and talk to us. ERROR:CODE_INDENT: code indent should use tabs where possible #654: FILE: windows/netuio/netuio_dev.c:124: + status = WdfDeviceCreateDeviceInterface(device, &GUID_DEVINTERFACE_netUIO, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #654: FILE: windows/netuio/netuio_dev.c:124: + status = WdfDeviceCreateDeviceInterface(device, &GUID_DEVINTERFACE_netUIO, NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #655: FILE: windows/netuio/netuio_dev.c:125: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #657: FILE: windows/netuio/netuio_dev.c:127: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #658: FILE: windows/netuio/netuio_dev.c:128: + // Retrieve and store PCI information$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #658: FILE: windows/netuio/netuio_dev.c:128: + // Retrieve and store PCI information$ ERROR:C99_COMMENTS: do not use C99 // comments #658: FILE: windows/netuio/netuio_dev.c:128: + // Retrieve and store PCI information ERROR:CODE_INDENT: code indent should use tabs where possible #659: FILE: windows/netuio/netuio_dev.c:129: + status = get_pci_device_info(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #659: FILE: windows/netuio/netuio_dev.c:129: + status = get_pci_device_info(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #660: FILE: windows/netuio/netuio_dev.c:130: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #662: FILE: windows/netuio/netuio_dev.c:132: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #663: FILE: windows/netuio/netuio_dev.c:133: + // Create a symbolic link name for user-space access$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #663: FILE: windows/netuio/netuio_dev.c:133: + // Create a symbolic link name for user-space access$ ERROR:C99_COMMENTS: do not use C99 // comments #663: FILE: windows/netuio/netuio_dev.c:133: + // Create a symbolic link name for user-space access ERROR:CODE_INDENT: code indent should use tabs where possible #664: FILE: windows/netuio/netuio_dev.c:134: + status = create_device_specific_symbolic_link(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #664: FILE: windows/netuio/netuio_dev.c:134: + status = create_device_specific_symbolic_link(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #665: FILE: windows/netuio/netuio_dev.c:135: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #667: FILE: windows/netuio/netuio_dev.c:137: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #668: FILE: windows/netuio/netuio_dev.c:138: + // Initialize the I/O Package and any Queues$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #668: FILE: windows/netuio/netuio_dev.c:138: + // Initialize the I/O Package and any Queues$ ERROR:C99_COMMENTS: do not use C99 // comments #668: FILE: windows/netuio/netuio_dev.c:138: + // Initialize the I/O Package and any Queues ERROR:CODE_INDENT: code indent should use tabs where possible #669: FILE: windows/netuio/netuio_dev.c:139: + status = netuio_queue_initialize(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #669: FILE: windows/netuio/netuio_dev.c:139: + status = netuio_queue_initialize(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #670: FILE: windows/netuio/netuio_dev.c:140: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #672: FILE: windows/netuio/netuio_dev.c:142: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #679: FILE: windows/netuio/netuio_dev.c:149: + UNREFERENCED_PARAMETER(Resources);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #681: FILE: windows/netuio/netuio_dev.c:151: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #683: FILE: windows/netuio/netuio_dev.c:153: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #684: FILE: windows/netuio/netuio_dev.c:154: + ctx = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #686: FILE: windows/netuio/netuio_dev.c:156: + if (!ctx) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #686: FILE: windows/netuio/netuio_dev.c:156: + if (!ctx) { + return STATUS_UNSUCCESSFUL; + } ERROR:CODE_INDENT: code indent should use tabs where possible #687: FILE: windows/netuio/netuio_dev.c:157: + return STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #687: FILE: windows/netuio/netuio_dev.c:157: + return STATUS_UNSUCCESSFUL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #688: FILE: windows/netuio/netuio_dev.c:158: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #690: FILE: windows/netuio/netuio_dev.c:160: + PCI_COMMON_HEADER pci_config = {0};$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #691: FILE: windows/netuio/netuio_dev.c:161: + ULONG bytes_returned;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #693: FILE: windows/netuio/netuio_dev.c:163: + // Read PCI configuration space$ ERROR:C99_COMMENTS: do not use C99 // comments #693: FILE: windows/netuio/netuio_dev.c:163: + // Read PCI configuration space WARNING:LEADING_SPACE: please, no spaces at the start of a line #694: FILE: windows/netuio/netuio_dev.c:164: + bytes_returned = ctx->bus_interface.GetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #695: FILE: windows/netuio/netuio_dev.c:165: + ctx->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #695: FILE: windows/netuio/netuio_dev.c:165: + ctx->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #696: FILE: windows/netuio/netuio_dev.c:166: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #696: FILE: windows/netuio/netuio_dev.c:166: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #697: FILE: windows/netuio/netuio_dev.c:167: + &pci_config,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #697: FILE: windows/netuio/netuio_dev.c:167: + &pci_config,$ ERROR:CODE_INDENT: code indent should use tabs where possible #698: FILE: windows/netuio/netuio_dev.c:168: + 0,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #698: FILE: windows/netuio/netuio_dev.c:168: + 0,$ ERROR:CODE_INDENT: code indent should use tabs where possible #699: FILE: windows/netuio/netuio_dev.c:169: + sizeof(pci_config));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #699: FILE: windows/netuio/netuio_dev.c:169: + sizeof(pci_config));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #701: FILE: windows/netuio/netuio_dev.c:171: + if (bytes_returned != sizeof(pci_config)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #702: FILE: windows/netuio/netuio_dev.c:172: + status = STATUS_NOT_SUPPORTED;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #702: FILE: windows/netuio/netuio_dev.c:172: + status = STATUS_NOT_SUPPORTED;$ ERROR:CODE_INDENT: code indent should use tabs where possible #703: FILE: windows/netuio/netuio_dev.c:173: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #703: FILE: windows/netuio/netuio_dev.c:173: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #704: FILE: windows/netuio/netuio_dev.c:174: + }$ WARNING:TYPO_SPELLING: 'implictly' may be misspelled - perhaps 'implicitly'? #706: FILE: windows/netuio/netuio_dev.c:176: + // Device type is implictly enforced by .inf WARNING:LEADING_SPACE: please, no spaces at the start of a line #706: FILE: windows/netuio/netuio_dev.c:176: + // Device type is implictly enforced by .inf$ ERROR:C99_COMMENTS: do not use C99 // comments #706: FILE: windows/netuio/netuio_dev.c:176: + // Device type is implictly enforced by .inf WARNING:LEADING_SPACE: please, no spaces at the start of a line #707: FILE: windows/netuio/netuio_dev.c:177: + ASSERT(PCI_CONFIGURATION_TYPE(&pci_config) == PCI_DEVICE_TYPE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #709: FILE: windows/netuio/netuio_dev.c:179: + PCM_PARTIAL_RESOURCE_DESCRIPTOR descriptor;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #710: FILE: windows/netuio/netuio_dev.c:180: + ULONG next_descriptor = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #711: FILE: windows/netuio/netuio_dev.c:181: + ULONGLONG bar_addr = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #712: FILE: windows/netuio/netuio_dev.c:182: + ULONG curr_bar = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #713: FILE: windows/netuio/netuio_dev.c:183: + ULONG prev_bar = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #715: FILE: windows/netuio/netuio_dev.c:185: + for (INT bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #716: FILE: windows/netuio/netuio_dev.c:186: + prev_bar = curr_bar;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #716: FILE: windows/netuio/netuio_dev.c:186: + prev_bar = curr_bar;$ ERROR:CODE_INDENT: code indent should use tabs where possible #717: FILE: windows/netuio/netuio_dev.c:187: + curr_bar = pci_config.u.type0.BaseAddresses[bar_index];$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #717: FILE: windows/netuio/netuio_dev.c:187: + curr_bar = pci_config.u.type0.BaseAddresses[bar_index];$ ERROR:CODE_INDENT: code indent should use tabs where possible #718: FILE: windows/netuio/netuio_dev.c:188: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #718: FILE: windows/netuio/netuio_dev.c:188: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #718: FILE: windows/netuio/netuio_dev.c:188: + if (curr_bar == 0 || (prev_bar & PCI_TYPE_64BIT)) { + // Skip this bar ERROR:CODE_INDENT: code indent should use tabs where possible #719: FILE: windows/netuio/netuio_dev.c:189: + // Skip this bar$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #719: FILE: windows/netuio/netuio_dev.c:189: + // Skip this bar$ ERROR:C99_COMMENTS: do not use C99 // comments #719: FILE: windows/netuio/netuio_dev.c:189: + // Skip this bar ERROR:CODE_INDENT: code indent should use tabs where possible #720: FILE: windows/netuio/netuio_dev.c:190: + ctx->bar[bar_index].base_addr.QuadPart = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #720: FILE: windows/netuio/netuio_dev.c:190: + ctx->bar[bar_index].base_addr.QuadPart = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #721: FILE: windows/netuio/netuio_dev.c:191: + ctx->bar[bar_index].size = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #721: FILE: windows/netuio/netuio_dev.c:191: + ctx->bar[bar_index].size = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #722: FILE: windows/netuio/netuio_dev.c:192: + ctx->bar[bar_index].virt_addr = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #722: FILE: windows/netuio/netuio_dev.c:192: + ctx->bar[bar_index].virt_addr = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #724: FILE: windows/netuio/netuio_dev.c:194: + ctx->dpdk_hw[bar_index].mdl = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #724: FILE: windows/netuio/netuio_dev.c:194: + ctx->dpdk_hw[bar_index].mdl = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #725: FILE: windows/netuio/netuio_dev.c:195: + ctx->dpdk_hw[bar_index].mem.size = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #725: FILE: windows/netuio/netuio_dev.c:195: + ctx->dpdk_hw[bar_index].mem.size = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #727: FILE: windows/netuio/netuio_dev.c:197: + continue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #727: FILE: windows/netuio/netuio_dev.c:197: + continue;$ ERROR:CODE_INDENT: code indent should use tabs where possible #728: FILE: windows/netuio/netuio_dev.c:198: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #728: FILE: windows/netuio/netuio_dev.c:198: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #730: FILE: windows/netuio/netuio_dev.c:200: + // Find next CmResourceTypeMemory$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #730: FILE: windows/netuio/netuio_dev.c:200: + // Find next CmResourceTypeMemory$ ERROR:C99_COMMENTS: do not use C99 // comments #730: FILE: windows/netuio/netuio_dev.c:200: + // Find next CmResourceTypeMemory ERROR:CODE_INDENT: code indent should use tabs where possible #731: FILE: windows/netuio/netuio_dev.c:201: + do {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #731: FILE: windows/netuio/netuio_dev.c:201: + do {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #731: FILE: windows/netuio/netuio_dev.c:201: + do { + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor); ERROR:CODE_INDENT: code indent should use tabs where possible #732: FILE: windows/netuio/netuio_dev.c:202: + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #732: FILE: windows/netuio/netuio_dev.c:202: + descriptor = WdfCmResourceListGetDescriptor(ResourcesTranslated, next_descriptor);$ ERROR:CODE_INDENT: code indent should use tabs where possible #733: FILE: windows/netuio/netuio_dev.c:203: + next_descriptor++;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #733: FILE: windows/netuio/netuio_dev.c:203: + next_descriptor++;$ ERROR:CODE_INDENT: code indent should use tabs where possible #735: FILE: windows/netuio/netuio_dev.c:205: + if (descriptor == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #735: FILE: windows/netuio/netuio_dev.c:205: + if (descriptor == NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #736: FILE: windows/netuio/netuio_dev.c:206: + status = STATUS_DEVICE_CONFIGURATION_ERROR;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #736: FILE: windows/netuio/netuio_dev.c:206: + status = STATUS_DEVICE_CONFIGURATION_ERROR;$ ERROR:CODE_INDENT: code indent should use tabs where possible #737: FILE: windows/netuio/netuio_dev.c:207: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #737: FILE: windows/netuio/netuio_dev.c:207: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #738: FILE: windows/netuio/netuio_dev.c:208: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #738: FILE: windows/netuio/netuio_dev.c:208: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #739: FILE: windows/netuio/netuio_dev.c:209: + } while (descriptor->Type != CmResourceTypeMemory);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #739: FILE: windows/netuio/netuio_dev.c:209: + } while (descriptor->Type != CmResourceTypeMemory);$ ERROR:CODE_INDENT: code indent should use tabs where possible #741: FILE: windows/netuio/netuio_dev.c:211: + // Assert that we have the correct descriptor$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #741: FILE: windows/netuio/netuio_dev.c:211: + // Assert that we have the correct descriptor$ ERROR:C99_COMMENTS: do not use C99 // comments #741: FILE: windows/netuio/netuio_dev.c:211: + // Assert that we have the correct descriptor ERROR:CODE_INDENT: code indent should use tabs where possible #742: FILE: windows/netuio/netuio_dev.c:212: + ASSERT((descriptor->Flags & CM_RESOURCE_MEMORY_BAR) != 0);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #742: FILE: windows/netuio/netuio_dev.c:212: + ASSERT((descriptor->Flags & CM_RESOURCE_MEMORY_BAR) != 0);$ ERROR:CODE_INDENT: code indent should use tabs where possible #744: FILE: windows/netuio/netuio_dev.c:214: + if (curr_bar & PCI_TYPE_64BIT) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #744: FILE: windows/netuio/netuio_dev.c:214: + if (curr_bar & PCI_TYPE_64BIT) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #744: FILE: windows/netuio/netuio_dev.c:214: + if (curr_bar & PCI_TYPE_64BIT) { + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1); ERROR:CODE_INDENT: code indent should use tabs where possible #745: FILE: windows/netuio/netuio_dev.c:215: + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #745: FILE: windows/netuio/netuio_dev.c:215: + ASSERT(bar_index != PCI_TYPE0_ADDRESSES - 1);$ WARNING:LONG_LINE: line over 100 characters #746: FILE: windows/netuio/netuio_dev.c:216: + 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 #746: FILE: windows/netuio/netuio_dev.c:216: + 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 #746: FILE: windows/netuio/netuio_dev.c:216: + 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 #747: FILE: windows/netuio/netuio_dev.c:217: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #747: FILE: windows/netuio/netuio_dev.c:217: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #748: FILE: windows/netuio/netuio_dev.c:218: + else$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #748: FILE: windows/netuio/netuio_dev.c:218: + else$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #748: FILE: windows/netuio/netuio_dev.c:218: + else + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #748: FILE: windows/netuio/netuio_dev.c:218: + else + { ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #748: FILE: windows/netuio/netuio_dev.c:218: + } + else ERROR:CODE_INDENT: code indent should use tabs where possible #749: FILE: windows/netuio/netuio_dev.c:219: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #749: FILE: windows/netuio/netuio_dev.c:219: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #750: FILE: windows/netuio/netuio_dev.c:220: + bar_addr = curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #750: FILE: windows/netuio/netuio_dev.c:220: + bar_addr = curr_bar & PCI_ADDRESS_MEMORY_ADDRESS_MASK;$ ERROR:CODE_INDENT: code indent should use tabs where possible #751: FILE: windows/netuio/netuio_dev.c:221: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #751: FILE: windows/netuio/netuio_dev.c:221: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #753: FILE: windows/netuio/netuio_dev.c:223: + ASSERT((ULONGLONG)descriptor->u.Memory.Start.QuadPart == bar_addr);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #753: FILE: windows/netuio/netuio_dev.c:223: + ASSERT((ULONGLONG)descriptor->u.Memory.Start.QuadPart == bar_addr);$ ERROR:CODE_INDENT: code indent should use tabs where possible #755: FILE: windows/netuio/netuio_dev.c:225: + // Retrieve and map the BARs$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #755: FILE: windows/netuio/netuio_dev.c:225: + // Retrieve and map the BARs$ ERROR:C99_COMMENTS: do not use C99 // comments #755: FILE: windows/netuio/netuio_dev.c:225: + // Retrieve and map the BARs ERROR:CODE_INDENT: code indent should use tabs where possible #756: FILE: windows/netuio/netuio_dev.c:226: + ctx->bar[bar_index].base_addr.QuadPart = descriptor->u.Memory.Start.QuadPart;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #756: FILE: windows/netuio/netuio_dev.c:226: + ctx->bar[bar_index].base_addr.QuadPart = descriptor->u.Memory.Start.QuadPart;$ ERROR:CODE_INDENT: code indent should use tabs where possible #757: FILE: windows/netuio/netuio_dev.c:227: + ctx->bar[bar_index].size = descriptor->u.Memory.Length;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #757: FILE: windows/netuio/netuio_dev.c:227: + ctx->bar[bar_index].size = descriptor->u.Memory.Length;$ ERROR:CODE_INDENT: code indent should use tabs where possible #758: FILE: windows/netuio/netuio_dev.c:228: + ctx->bar[bar_index].virt_addr = MmMapIoSpace(descriptor->u.Memory.Start,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #758: FILE: windows/netuio/netuio_dev.c:228: + ctx->bar[bar_index].virt_addr = MmMapIoSpace(descriptor->u.Memory.Start,$ ERROR:CODE_INDENT: code indent should use tabs where possible #759: FILE: windows/netuio/netuio_dev.c:229: + descriptor->u.Memory.Length,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #759: FILE: windows/netuio/netuio_dev.c:229: + descriptor->u.Memory.Length,$ ERROR:CODE_INDENT: code indent should use tabs where possible #760: FILE: windows/netuio/netuio_dev.c:230: + MmNonCached);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #760: FILE: windows/netuio/netuio_dev.c:230: + MmNonCached);$ ERROR:CODE_INDENT: code indent should use tabs where possible #761: FILE: windows/netuio/netuio_dev.c:231: + if (ctx->bar[bar_index].virt_addr == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #761: FILE: windows/netuio/netuio_dev.c:231: + if (ctx->bar[bar_index].virt_addr == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #761: FILE: windows/netuio/netuio_dev.c:231: + if (ctx->bar[bar_index].virt_addr == NULL) { + status = STATUS_INSUFFICIENT_RESOURCES; ERROR:CODE_INDENT: code indent should use tabs where possible #762: FILE: windows/netuio/netuio_dev.c:232: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #762: FILE: windows/netuio/netuio_dev.c:232: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #763: FILE: windows/netuio/netuio_dev.c:233: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #763: FILE: windows/netuio/netuio_dev.c:233: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #764: FILE: windows/netuio/netuio_dev.c:234: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #764: FILE: windows/netuio/netuio_dev.c:234: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #766: FILE: windows/netuio/netuio_dev.c:236: + // 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 #766: FILE: windows/netuio/netuio_dev.c:236: + // 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 #766: FILE: windows/netuio/netuio_dev.c:236: + // Allocate an MDL for the device BAR, so we can map it to the user's process context later. ERROR:CODE_INDENT: code indent should use tabs where possible #767: FILE: windows/netuio/netuio_dev.c:237: + ctx->dpdk_hw[bar_index].mdl = IoAllocateMdl(ctx->bar[bar_index].virt_addr,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #767: FILE: windows/netuio/netuio_dev.c:237: + ctx->dpdk_hw[bar_index].mdl = IoAllocateMdl(ctx->bar[bar_index].virt_addr,$ ERROR:CODE_INDENT: code indent should use tabs where possible #768: FILE: windows/netuio/netuio_dev.c:238: + (ULONG)ctx->bar[bar_index].size,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #768: FILE: windows/netuio/netuio_dev.c:238: + (ULONG)ctx->bar[bar_index].size,$ ERROR:CODE_INDENT: code indent should use tabs where possible #769: FILE: windows/netuio/netuio_dev.c:239: + FALSE,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #769: FILE: windows/netuio/netuio_dev.c:239: + FALSE,$ ERROR:CODE_INDENT: code indent should use tabs where possible #770: FILE: windows/netuio/netuio_dev.c:240: + FALSE,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #770: FILE: windows/netuio/netuio_dev.c:240: + FALSE,$ ERROR:CODE_INDENT: code indent should use tabs where possible #771: FILE: windows/netuio/netuio_dev.c:241: + NULL);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #771: FILE: windows/netuio/netuio_dev.c:241: + NULL);$ ERROR:CODE_INDENT: code indent should use tabs where possible #772: FILE: windows/netuio/netuio_dev.c:242: + if (!ctx->dpdk_hw[bar_index].mdl) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #772: FILE: windows/netuio/netuio_dev.c:242: + if (!ctx->dpdk_hw[bar_index].mdl) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #772: FILE: windows/netuio/netuio_dev.c:242: + if (!ctx->dpdk_hw[bar_index].mdl) { + status = STATUS_INSUFFICIENT_RESOURCES; ERROR:CODE_INDENT: code indent should use tabs where possible #773: FILE: windows/netuio/netuio_dev.c:243: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #773: FILE: windows/netuio/netuio_dev.c:243: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #774: FILE: windows/netuio/netuio_dev.c:244: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #774: FILE: windows/netuio/netuio_dev.c:244: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #775: FILE: windows/netuio/netuio_dev.c:245: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #775: FILE: windows/netuio/netuio_dev.c:245: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #777: FILE: windows/netuio/netuio_dev.c:247: + ctx->dpdk_hw[bar_index].mem.size = ctx->bar[bar_index].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #777: FILE: windows/netuio/netuio_dev.c:247: + ctx->dpdk_hw[bar_index].mem.size = ctx->bar[bar_index].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #778: FILE: windows/netuio/netuio_dev.c:248: + } // for bar_index$ ERROR:C99_COMMENTS: do not use C99 // comments #778: FILE: windows/netuio/netuio_dev.c:248: + } // for bar_index WARNING:LEADING_SPACE: please, no spaces at the start of a line #780: FILE: windows/netuio/netuio_dev.c:250: + status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #783: FILE: windows/netuio/netuio_dev.c:253: + if (status != STATUS_SUCCESS) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #783: FILE: windows/netuio/netuio_dev.c:253: + if (status != STATUS_SUCCESS) { + netuio_free_hw_resources(Device); + } ERROR:CODE_INDENT: code indent should use tabs where possible #784: FILE: windows/netuio/netuio_dev.c:254: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #784: FILE: windows/netuio/netuio_dev.c:254: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #785: FILE: windows/netuio/netuio_dev.c:255: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #787: FILE: windows/netuio/netuio_dev.c:257: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #794: FILE: windows/netuio/netuio_dev.c:264: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #795: FILE: windows/netuio/netuio_dev.c:265: + ctx = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #797: FILE: windows/netuio/netuio_dev.c:267: + if (ctx) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #798: FILE: windows/netuio/netuio_dev.c:268: + for (UINT8 bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #798: FILE: windows/netuio/netuio_dev.c:268: + for (UINT8 bar_index = 0; bar_index < PCI_MAX_BAR; bar_index++) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #798: FILE: windows/netuio/netuio_dev.c:268: + 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 #800: FILE: windows/netuio/netuio_dev.c:270: + // Free the allocated MDLs$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #800: FILE: windows/netuio/netuio_dev.c:270: + // Free the allocated MDLs$ ERROR:C99_COMMENTS: do not use C99 // comments #800: FILE: windows/netuio/netuio_dev.c:270: + // Free the allocated MDLs ERROR:CODE_INDENT: code indent should use tabs where possible #801: FILE: windows/netuio/netuio_dev.c:271: + if (ctx->dpdk_hw[bar_index].mdl) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #801: FILE: windows/netuio/netuio_dev.c:271: + if (ctx->dpdk_hw[bar_index].mdl) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #801: FILE: windows/netuio/netuio_dev.c:271: + if (ctx->dpdk_hw[bar_index].mdl) { + IoFreeMdl(ctx->dpdk_hw[bar_index].mdl); + } ERROR:CODE_INDENT: code indent should use tabs where possible #802: FILE: windows/netuio/netuio_dev.c:272: + IoFreeMdl(ctx->dpdk_hw[bar_index].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #802: FILE: windows/netuio/netuio_dev.c:272: + IoFreeMdl(ctx->dpdk_hw[bar_index].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #803: FILE: windows/netuio/netuio_dev.c:273: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #803: FILE: windows/netuio/netuio_dev.c:273: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #805: FILE: windows/netuio/netuio_dev.c:275: + // Unmap all the BAR regions previously mapped$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #805: FILE: windows/netuio/netuio_dev.c:275: + // Unmap all the BAR regions previously mapped$ ERROR:C99_COMMENTS: do not use C99 // comments #805: FILE: windows/netuio/netuio_dev.c:275: + // Unmap all the BAR regions previously mapped ERROR:CODE_INDENT: code indent should use tabs where possible #806: FILE: windows/netuio/netuio_dev.c:276: + if (ctx->bar[bar_index].virt_addr) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #806: FILE: windows/netuio/netuio_dev.c:276: + if (ctx->bar[bar_index].virt_addr) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #806: FILE: windows/netuio/netuio_dev.c:276: + if (ctx->bar[bar_index].virt_addr) { + MmUnmapIoSpace(ctx->bar[bar_index].virt_addr, ctx->bar[bar_index].size); + } ERROR:CODE_INDENT: code indent should use tabs where possible #807: FILE: windows/netuio/netuio_dev.c:277: + MmUnmapIoSpace(ctx->bar[bar_index].virt_addr, ctx->bar[bar_index].size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #807: FILE: windows/netuio/netuio_dev.c:277: + MmUnmapIoSpace(ctx->bar[bar_index].virt_addr, ctx->bar[bar_index].size);$ ERROR:CODE_INDENT: code indent should use tabs where possible #808: FILE: windows/netuio/netuio_dev.c:278: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #808: FILE: windows/netuio/netuio_dev.c:278: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #809: FILE: windows/netuio/netuio_dev.c:279: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #809: FILE: windows/netuio/netuio_dev.c:279: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #811: FILE: windows/netuio/netuio_dev.c:281: + RtlZeroMemory(ctx->dpdk_hw, sizeof(ctx->dpdk_hw));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #811: FILE: windows/netuio/netuio_dev.c:281: + RtlZeroMemory(ctx->dpdk_hw, sizeof(ctx->dpdk_hw));$ ERROR:CODE_INDENT: code indent should use tabs where possible #812: FILE: windows/netuio/netuio_dev.c:282: + RtlZeroMemory(ctx->bar, sizeof(ctx->bar));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #812: FILE: windows/netuio/netuio_dev.c:282: + RtlZeroMemory(ctx->bar, sizeof(ctx->bar));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #813: FILE: windows/netuio/netuio_dev.c:283: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #833: FILE: windows/netuio/netuio_dev.h:11: + PHYSICAL_ADDRESS base_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #834: FILE: windows/netuio/netuio_dev.h:12: + PVOID virt_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #835: FILE: windows/netuio/netuio_dev.h:13: + UINT64 size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #839: FILE: windows/netuio/netuio_dev.h:17: + PMDL mdl; // MDL describing the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #839: FILE: windows/netuio/netuio_dev.h:17: + PMDL mdl; // MDL describing the memory region WARNING:LEADING_SPACE: please, no spaces at the start of a line #840: FILE: windows/netuio/netuio_dev.h:18: + struct mem_region mem; // Memory region details$ ERROR:C99_COMMENTS: do not use C99 // comments #840: FILE: windows/netuio/netuio_dev.h:18: + struct mem_region mem; // Memory region details ERROR:C99_COMMENTS: do not use C99 // comments #843: FILE: windows/netuio/netuio_dev.h:21: +// 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 #845: FILE: windows/netuio/netuio_dev.h:23: +typedef struct _NETUIO_CONTEXT_DATA +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #846: FILE: windows/netuio/netuio_dev.h:24: + WDFDEVICE wdf_device; // WDF device handle to the FDO$ ERROR:C99_COMMENTS: do not use C99 // comments #846: FILE: windows/netuio/netuio_dev.h:24: + WDFDEVICE wdf_device; // WDF device handle to the FDO WARNING:LEADING_SPACE: please, no spaces at the start of a line #847: FILE: windows/netuio/netuio_dev.h:25: + BUS_INTERFACE_STANDARD bus_interface; // Bus interface for config space access$ ERROR:C99_COMMENTS: do not use C99 // comments #847: FILE: windows/netuio/netuio_dev.h:25: + BUS_INTERFACE_STANDARD bus_interface; // Bus interface for config space access WARNING:LEADING_SPACE: please, no spaces at the start of a line #848: FILE: windows/netuio/netuio_dev.h:26: + struct pci_bar bar[PCI_MAX_BAR]; // device BARs$ ERROR:C99_COMMENTS: do not use C99 // comments #848: FILE: windows/netuio/netuio_dev.h:26: + struct pci_bar bar[PCI_MAX_BAR]; // device BARs WARNING:LEADING_SPACE: please, no spaces at the start of a line #849: FILE: windows/netuio/netuio_dev.h:27: + struct dev_addr addr; // B:D:F details of device$ ERROR:C99_COMMENTS: do not use C99 // comments #849: FILE: windows/netuio/netuio_dev.h:27: + struct dev_addr addr; // B:D:F details of device WARNING:LEADING_SPACE: please, no spaces at the start of a line #850: FILE: windows/netuio/netuio_dev.h:28: + 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 #850: FILE: windows/netuio/netuio_dev.h:28: + 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 #854: FILE: windows/netuio/netuio_dev.h:32: +// This macro will generate an inline function called DeviceGetContext ERROR:C99_COMMENTS: do not use C99 // comments #855: FILE: windows/netuio/netuio_dev.h:33: +// which will be used to get a pointer to the device context memory in a type safe manner. ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #859: FILE: windows/netuio/netuio_dev.h:37: +typedef struct +{ WARNING:LONG_LINE_COMMENT: line over 100 characters #860: FILE: windows/netuio/netuio_dev.h:38: + BOOLEAN bMapped; // value is set to TRUE if the User-mode mapping was done for this file object. WARNING:LEADING_SPACE: please, no spaces at the start of a line #860: FILE: windows/netuio/netuio_dev.h:38: + BOOLEAN bMapped; // value is set to TRUE if the User-mode mapping was done for this file object.$ ERROR:C99_COMMENTS: do not use C99 // comments #860: FILE: windows/netuio/netuio_dev.h:38: + BOOLEAN bMapped; // value is set to TRUE if the User-mode mapping was done for this file object. ERROR:SPACING: space prohibited after that '*' (ctx:WxW) #861: FILE: windows/netuio/netuio_dev.h:39: +} NETUIO_FILE_CONTEXT_DATA, * PNETUIO_FILE_CONTEXT_DATA; ^ ERROR:C99_COMMENTS: do not use C99 // comments #863: FILE: windows/netuio/netuio_dev.h:41: +// This macro will generate an inline function which will be used to get a pointer to the ERROR:C99_COMMENTS: do not use C99 // comments #864: FILE: windows/netuio/netuio_dev.h:42: +// file object's context memory in a type safe manner. ERROR:C99_COMMENTS: do not use C99 // comments #867: FILE: windows/netuio/netuio_dev.h:45: +// Function to initialize the device and its callbacks WARNING:TYPO_SPELLING: 'Inout' may be misspelled - perhaps 'Input'? #868: FILE: windows/netuio/netuio_dev.h:46: +NTSTATUS netuio_create_device(_Inout_ PWDFDEVICE_INIT DeviceInit); WARNING:LONG_LINE: line over 100 characters #869: FILE: windows/netuio/netuio_dev.h:47: +NTSTATUS netuio_map_hw_resources(_In_ WDFDEVICE Device, _In_ WDFCMRESLIST Resources, _In_ WDFCMRESLIST ResourcesTranslated); ERROR:C99_COMMENTS: do not use C99 // comments #872: FILE: windows/netuio/netuio_dev.h:50: +#endif // NETUIO_DEV_H WARNING:SPACING: space prohibited between function name and open parenthesis '(' #886: FILE: windows/netuio/netuio_drv.c:8: +#pragma alloc_text (INIT, DriverEntry) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #887: FILE: windows/netuio/netuio_drv.c:9: +#pragma alloc_text (PAGE, netuio_evt_device_add) WARNING:SPACING: space prohibited between function name and open parenthesis '(' #888: FILE: 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 #892: FILE: windows/netuio/netuio_drv.c:14: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #904: FILE: windows/netuio/netuio_drv.c:26: + WDF_DRIVER_CONFIG config;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #905: FILE: windows/netuio/netuio_drv.c:27: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #906: FILE: windows/netuio/netuio_drv.c:28: + WDF_OBJECT_ATTRIBUTES attributes;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #908: FILE: windows/netuio/netuio_drv.c:30: + // Register a cleanup callback so that we can call WPP_CLEANUP when$ ERROR:C99_COMMENTS: do not use C99 // comments #908: FILE: windows/netuio/netuio_drv.c:30: + // Register a cleanup callback so that we can call WPP_CLEANUP when WARNING:LEADING_SPACE: please, no spaces at the start of a line #909: FILE: windows/netuio/netuio_drv.c:31: + // the framework driver object is deleted during driver unload.$ ERROR:C99_COMMENTS: do not use C99 // comments #909: FILE: windows/netuio/netuio_drv.c:31: + // the framework driver object is deleted during driver unload. WARNING:LEADING_SPACE: please, no spaces at the start of a line #910: FILE: windows/netuio/netuio_drv.c:32: + WDF_OBJECT_ATTRIBUTES_INIT(&attributes);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #911: FILE: windows/netuio/netuio_drv.c:33: + attributes.EvtCleanupCallback = netuio_evt_driver_context_cleanup;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #913: FILE: windows/netuio/netuio_drv.c:35: + WDF_DRIVER_CONFIG_INIT(&config, netuio_evt_device_add);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #915: FILE: windows/netuio/netuio_drv.c:37: + status = WdfDriverCreate(DriverObject, RegistryPath,$ ERROR:CODE_INDENT: code indent should use tabs where possible #916: FILE: windows/netuio/netuio_drv.c:38: + &attributes, &config,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #916: FILE: windows/netuio/netuio_drv.c:38: + &attributes, &config,$ ERROR:CODE_INDENT: code indent should use tabs where possible #917: FILE: windows/netuio/netuio_drv.c:39: + WDF_NO_HANDLE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #917: FILE: windows/netuio/netuio_drv.c:39: + WDF_NO_HANDLE);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #919: FILE: windows/netuio/netuio_drv.c:41: + if (!NT_SUCCESS(status)) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #919: FILE: windows/netuio/netuio_drv.c:41: + if (!NT_SUCCESS(status)) { + return status; + } ERROR:CODE_INDENT: code indent should use tabs where possible #920: FILE: windows/netuio/netuio_drv.c:42: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #920: FILE: windows/netuio/netuio_drv.c:42: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #921: FILE: windows/netuio/netuio_drv.c:43: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #923: FILE: windows/netuio/netuio_drv.c:45: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #927: FILE: windows/netuio/netuio_drv.c:49: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #939: FILE: windows/netuio/netuio_drv.c:61: + UNREFERENCED_PARAMETER(Driver);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #940: FILE: windows/netuio/netuio_drv.c:62: + return netuio_create_device(DeviceInit);$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #944: FILE: windows/netuio/netuio_drv.c:66: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #950: FILE: windows/netuio/netuio_drv.c:72: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #955: FILE: windows/netuio/netuio_drv.c:77: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #957: FILE: 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 #959: FILE: windows/netuio/netuio_drv.c:81: + if (NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #960: FILE: windows/netuio/netuio_drv.c:82: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #960: FILE: windows/netuio/netuio_drv.c:82: + PNETUIO_CONTEXT_DATA ctx;$ ERROR:CODE_INDENT: code indent should use tabs where possible #961: FILE: windows/netuio/netuio_drv.c:83: + ctx = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #961: FILE: windows/netuio/netuio_drv.c:83: + ctx = netuio_get_context_data(Device);$ ERROR:CODE_INDENT: code indent should use tabs where possible #962: FILE: windows/netuio/netuio_drv.c:84: + if (ctx) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #962: FILE: windows/netuio/netuio_drv.c:84: + if (ctx) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #962: FILE: windows/netuio/netuio_drv.c:84: + if (ctx) { + 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 #963: FILE: 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 #963: FILE: 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 #964: FILE: windows/netuio/netuio_drv.c:86: + ctx->addr.bus_num, ctx->addr.dev_num, ctx->addr.func_num); ERROR:CODE_INDENT: code indent should use tabs where possible #964: FILE: windows/netuio/netuio_drv.c:86: + ctx->addr.bus_num, ctx->addr.dev_num, ctx->addr.func_num);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #964: FILE: windows/netuio/netuio_drv.c:86: + ctx->addr.bus_num, ctx->addr.dev_num, ctx->addr.func_num);$ ERROR:CODE_INDENT: code indent should use tabs where possible #965: FILE: windows/netuio/netuio_drv.c:87: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #965: FILE: windows/netuio/netuio_drv.c:87: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #966: FILE: windows/netuio/netuio_drv.c:88: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #967: FILE: windows/netuio/netuio_drv.c:89: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #971: FILE: windows/netuio/netuio_drv.c:93: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #976: FILE: windows/netuio/netuio_drv.c:98: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #981: FILE: windows/netuio/netuio_drv.c:103: + UNREFERENCED_PARAMETER(ResourcesTranslated);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #983: FILE: windows/netuio/netuio_drv.c:105: + netuio_free_hw_resources(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #985: FILE: windows/netuio/netuio_drv.c:107: + return STATUS_SUCCESS;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #989: FILE: windows/netuio/netuio_drv.c:111: +/* +Routine Description: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #994: FILE: windows/netuio/netuio_drv.c:116: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #999: FILE: windows/netuio/netuio_drv.c:121: + UNREFERENCED_PARAMETER(DriverObject);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1000: FILE: windows/netuio/netuio_drv.c:122: + DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_NETUIO_INFO_LEVEL, "netUIO Driver unloaded. ");$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1001: FILE: windows/netuio/netuio_drv.c:123: + PAGED_CODE();$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1005: FILE: windows/netuio/netuio_drv.c:127: +/* +Routine Description : WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #1012: FILE: windows/netuio/netuio_drv.c:134: +-*/ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1017: FILE: windows/netuio/netuio_drv.c:139: + PNETUIO_FILE_CONTEXT_DATA file_ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1019: FILE: windows/netuio/netuio_drv.c:141: + file_ctx = netuio_get_file_object_context_data(FileObject);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1021: FILE: windows/netuio/netuio_drv.c:143: + if ((file_ctx != NULL) &&$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1021: FILE: windows/netuio/netuio_drv.c:143: + if ((file_ctx != NULL) && + (file_ctx->bMapped == TRUE)) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1022: FILE: windows/netuio/netuio_drv.c:144: + (file_ctx->bMapped == TRUE))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1022: FILE: windows/netuio/netuio_drv.c:144: + (file_ctx->bMapped == TRUE))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1023: FILE: windows/netuio/netuio_drv.c:145: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1024: FILE: windows/netuio/netuio_drv.c:146: + WDFDEVICE device;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1024: FILE: windows/netuio/netuio_drv.c:146: + WDFDEVICE device;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1025: FILE: windows/netuio/netuio_drv.c:147: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1025: FILE: windows/netuio/netuio_drv.c:147: + PNETUIO_CONTEXT_DATA ctx;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1027: FILE: windows/netuio/netuio_drv.c:149: + device = WdfFileObjectGetDevice(FileObject);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1027: FILE: windows/netuio/netuio_drv.c:149: + device = WdfFileObjectGetDevice(FileObject);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1028: FILE: windows/netuio/netuio_drv.c:150: + ctx = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1028: FILE: windows/netuio/netuio_drv.c:150: + ctx = netuio_get_context_data(device);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1030: FILE: windows/netuio/netuio_drv.c:152: + if (ctx)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1030: FILE: windows/netuio/netuio_drv.c:152: + if (ctx)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1030: FILE: windows/netuio/netuio_drv.c:152: + if (ctx) + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1030: FILE: windows/netuio/netuio_drv.c:152: + if (ctx) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1031: FILE: windows/netuio/netuio_drv.c:153: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1031: FILE: windows/netuio/netuio_drv.c:153: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1032: FILE: windows/netuio/netuio_drv.c:154: + netuio_unmap_address_from_user_process(ctx);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1032: FILE: windows/netuio/netuio_drv.c:154: + netuio_unmap_address_from_user_process(ctx);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1033: FILE: windows/netuio/netuio_drv.c:155: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1033: FILE: windows/netuio/netuio_drv.c:155: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1034: FILE: windows/netuio/netuio_drv.c:156: + file_ctx->bMapped = FALSE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1034: FILE: windows/netuio/netuio_drv.c:156: + file_ctx->bMapped = FALSE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1035: FILE: windows/netuio/netuio_drv.c:157: + }$ ERROR:C99_COMMENTS: do not use C99 // comments #1058: FILE: windows/netuio/netuio_drv.h:16: +// Print output constants ERROR:C99_COMMENTS: do not use C99 // comments #1061: FILE: windows/netuio/netuio_drv.h:19: +// WDFDRIVER Events ERROR:C99_COMMENTS: do not use C99 // comments #1069: FILE: windows/netuio/netuio_drv.h:27: +#endif // NETUIO_DRV_H ERROR:TRAILING_WHITESPACE: trailing whitespace #1083: FILE: 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 #1083: FILE: 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 #1087: FILE: 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 #1088: FILE: 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 #1088: FILE: 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 '(' #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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) #1088: FILE: 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 #1090: FILE: windows/netuio/netuio_interface.h:15: +// Device name definitions ERROR:C99_COMMENTS: do not use C99 // comments #1093: FILE: windows/netuio/netuio_interface.h:18: +// netUIO driver symbolic name (prefix) ERROR:C99_COMMENTS: do not use C99 // comments #1096: FILE: windows/netuio/netuio_interface.h:21: +// IOCTL code definitions WARNING:LONG_LINE: line over 100 characters #1097: FILE: 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 #1098: FILE: 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 #1101: FILE: windows/netuio/netuio_interface.h:26: + UINT64 size; // memory region size$ ERROR:C99_COMMENTS: do not use C99 // comments #1101: FILE: windows/netuio/netuio_interface.h:26: + UINT64 size; // memory region size WARNING:LEADING_SPACE: please, no spaces at the start of a line #1102: FILE: windows/netuio/netuio_interface.h:27: + LARGE_INTEGER phys_addr; // physical address of the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #1102: FILE: windows/netuio/netuio_interface.h:27: + LARGE_INTEGER phys_addr; // physical address of the memory region WARNING:LEADING_SPACE: please, no spaces at the start of a line #1103: FILE: windows/netuio/netuio_interface.h:28: + PVOID virt_addr; // virtual address of the memory region$ ERROR:C99_COMMENTS: do not use C99 // comments #1103: FILE: windows/netuio/netuio_interface.h:28: + PVOID virt_addr; // virtual address of the memory region WARNING:LONG_LINE_COMMENT: line over 100 characters #1104: FILE: 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 #1104: FILE: 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 #1104: FILE: 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 #1108: FILE: windows/netuio/netuio_interface.h:33: + ULONG bus_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1109: FILE: windows/netuio/netuio_interface.h:34: + USHORT dev_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1110: FILE: windows/netuio/netuio_interface.h:35: + USHORT func_num;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1114: FILE: windows/netuio/netuio_interface.h:39: + PCI_IO_READ = 0,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1115: FILE: windows/netuio/netuio_interface.h:40: + PCI_IO_WRITE = 1$ ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #1121: FILE: windows/netuio/netuio_interface.h:46: +struct device_info +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1122: FILE: 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 #1123: FILE: windows/netuio/netuio_interface.h:48: + USHORT reserved;$ ERROR:OPEN_BRACE: open brace '{' following struct go on the same line #1127: FILE: windows/netuio/netuio_interface.h:52: +struct dpdk_pci_config_io +{ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1128: FILE: windows/netuio/netuio_interface.h:53: + UINT32 offset;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1129: FILE: windows/netuio/netuio_interface.h:54: + UINT8 op;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1130: FILE: windows/netuio/netuio_interface.h:55: + UINT32 access_size; // 1, 2, 4, or 8 bytes$ ERROR:C99_COMMENTS: do not use C99 // comments #1130: FILE: windows/netuio/netuio_interface.h:55: + UINT32 access_size; // 1, 2, 4, or 8 bytes WARNING:LEADING_SPACE: please, no spaces at the start of a line #1132: FILE: windows/netuio/netuio_interface.h:57: + union dpdk_pci_config_io_data {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1133: FILE: windows/netuio/netuio_interface.h:58: + UINT8^I^I^Iu8;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1133: FILE: windows/netuio/netuio_interface.h:58: + UINT8^I^I^Iu8;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1134: FILE: windows/netuio/netuio_interface.h:59: + UINT16^I^I^Iu16;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1134: FILE: windows/netuio/netuio_interface.h:59: + UINT16^I^I^Iu16;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1135: FILE: windows/netuio/netuio_interface.h:60: + UINT32^I^I^Iu32;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1135: FILE: windows/netuio/netuio_interface.h:60: + UINT32^I^I^Iu32;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1136: FILE: windows/netuio/netuio_interface.h:61: + UINT64^I^I^Iu64;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1136: FILE: windows/netuio/netuio_interface.h:61: + UINT64^I^I^Iu64;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1137: FILE: windows/netuio/netuio_interface.h:62: + } data;$ ERROR:C99_COMMENTS: do not use C99 // comments #1142: FILE: windows/netuio/netuio_interface.h:67: +#endif // NETUIO_INTERFACE_H WARNING:SPACING: space prohibited between function name and open parenthesis '(' #1156: FILE: windows/netuio/netuio_queue.c:8: +#pragma alloc_text (PAGE, netuio_queue_initialize) WARNING:LEADING_SPACE: please, no spaces at the start of a line #1163: FILE: windows/netuio/netuio_queue.c:15: + WDFFILEOBJECT file_object;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1165: FILE: windows/netuio/netuio_queue.c:17: + file_object = WdfRequestGetFileObject(Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1166: FILE: windows/netuio/netuio_queue.c:18: + if (file_object == NULL)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1166: FILE: windows/netuio/netuio_queue.c:18: + if (file_object == NULL) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1167: FILE: windows/netuio/netuio_queue.c:19: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1168: FILE: windows/netuio/netuio_queue.c:20: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1168: FILE: windows/netuio/netuio_queue.c:20: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1169: FILE: windows/netuio/netuio_queue.c:21: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1171: FILE: windows/netuio/netuio_queue.c:23: + PNETUIO_FILE_CONTEXT_DATA file_ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1173: FILE: windows/netuio/netuio_queue.c:25: + file_ctx = netuio_get_file_object_context_data(file_object);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1175: FILE: windows/netuio/netuio_queue.c:27: + if (file_ctx && file_ctx->bMapped)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1175: FILE: windows/netuio/netuio_queue.c:27: + if (file_ctx && file_ctx->bMapped) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1176: FILE: windows/netuio/netuio_queue.c:28: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1177: FILE: windows/netuio/netuio_queue.c:29: + return TRUE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1177: FILE: windows/netuio/netuio_queue.c:29: + return TRUE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1178: FILE: windows/netuio/netuio_queue.c:30: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1181: FILE: windows/netuio/netuio_queue.c:33: + return FALSE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1187: FILE: windows/netuio/netuio_queue.c:39: + WDFFILEOBJECT file_object;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1189: FILE: windows/netuio/netuio_queue.c:41: + file_object = WdfRequestGetFileObject(Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1190: FILE: windows/netuio/netuio_queue.c:42: + if (file_object == NULL)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1190: FILE: windows/netuio/netuio_queue.c:42: + if (file_object == NULL) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1191: FILE: windows/netuio/netuio_queue.c:43: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1192: FILE: windows/netuio/netuio_queue.c:44: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1192: FILE: windows/netuio/netuio_queue.c:44: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1193: FILE: windows/netuio/netuio_queue.c:45: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1195: FILE: windows/netuio/netuio_queue.c:47: + PNETUIO_FILE_CONTEXT_DATA file_ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1197: FILE: windows/netuio/netuio_queue.c:49: + file_ctx = netuio_get_file_object_context_data(file_object);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1199: FILE: windows/netuio/netuio_queue.c:51: + if (file_ctx != NULL)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1199: FILE: windows/netuio/netuio_queue.c:51: + if (file_ctx != NULL) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1200: FILE: windows/netuio/netuio_queue.c:52: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1201: FILE: windows/netuio/netuio_queue.c:53: + file_ctx->bMapped = TRUE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1201: FILE: windows/netuio/netuio_queue.c:53: + file_ctx->bMapped = TRUE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1202: FILE: windows/netuio/netuio_queue.c:54: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1207: FILE: windows/netuio/netuio_queue.c:59: + _In_ PVOID outputBuf, _In_ size_t outputBufSize)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1207: FILE: windows/netuio/netuio_queue.c:59: + _In_ PVOID outputBuf, _In_ size_t outputBufSize)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1209: FILE: windows/netuio/netuio_queue.c:61: + ASSERT(outputBufSize == sizeof(struct device_info));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1211: FILE: windows/netuio/netuio_queue.c:63: + struct device_info *dpdk_pvt_info = (struct device_info *)outputBuf;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1212: FILE: windows/netuio/netuio_queue.c:64: + RtlZeroMemory(dpdk_pvt_info, outputBufSize);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1214: FILE: windows/netuio/netuio_queue.c:66: + for (ULONG idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1215: FILE: windows/netuio/netuio_queue.c:67: + dpdk_pvt_info->hw[idx].phys_addr.QuadPart = ctx->bar[idx].base_addr.QuadPart;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1215: FILE: windows/netuio/netuio_queue.c:67: + dpdk_pvt_info->hw[idx].phys_addr.QuadPart = ctx->bar[idx].base_addr.QuadPart;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1216: FILE: windows/netuio/netuio_queue.c:68: + dpdk_pvt_info->hw[idx].user_mapped_virt_addr = ctx->dpdk_hw[idx].mem.user_mapped_virt_addr;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1216: FILE: windows/netuio/netuio_queue.c:68: + dpdk_pvt_info->hw[idx].user_mapped_virt_addr = ctx->dpdk_hw[idx].mem.user_mapped_virt_addr;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1217: FILE: windows/netuio/netuio_queue.c:69: + dpdk_pvt_info->hw[idx].size = ctx->bar[idx].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1217: FILE: windows/netuio/netuio_queue.c:69: + dpdk_pvt_info->hw[idx].size = ctx->bar[idx].size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1218: FILE: windows/netuio/netuio_queue.c:70: + }$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1222: FILE: windows/netuio/netuio_queue.c:74: +/* +Routine Description: WARNING:TYPO_SPELLING: 'process'' may be misspelled - perhaps 'process's'? #1223: FILE: windows/netuio/netuio_queue.c:75: + Maps address ranges into the usermode process's address space. The following ERROR:CODE_INDENT: code indent should use tabs where possible #1226: FILE: windows/netuio/netuio_queue.c:78: + * Any PCI BARs that our device was assigned$ ERROR:CODE_INDENT: code indent should use tabs where possible #1227: FILE: windows/netuio/netuio_queue.c:79: + * The scratch buffer of contiguous pages$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1235: FILE: windows/netuio/netuio_queue.c:87: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1237: FILE: windows/netuio/netuio_queue.c:89: + if (netuio_get_usermode_mapping_flag(Request))$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1237: FILE: windows/netuio/netuio_queue.c:89: + if (netuio_get_usermode_mapping_flag(Request)) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1238: FILE: windows/netuio/netuio_queue.c:90: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1239: FILE: windows/netuio/netuio_queue.c:91: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1239: FILE: windows/netuio/netuio_queue.c:91: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1240: FILE: windows/netuio/netuio_queue.c:92: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1242: FILE: windows/netuio/netuio_queue.c:94: + // Map any device BAR(s) to the user's process context$ ERROR:C99_COMMENTS: do not use C99 // comments #1242: FILE: windows/netuio/netuio_queue.c:94: + // Map any device BAR(s) to the user's process context WARNING:LEADING_SPACE: please, no spaces at the start of a line #1243: FILE: windows/netuio/netuio_queue.c:95: + for (INT idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1244: FILE: windows/netuio/netuio_queue.c:96: + if (ctx->dpdk_hw[idx].mdl == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1244: FILE: windows/netuio/netuio_queue.c:96: + if (ctx->dpdk_hw[idx].mdl == NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1244: FILE: windows/netuio/netuio_queue.c:96: + if (ctx->dpdk_hw[idx].mdl == NULL) { + continue; WARNING:BRACES: braces {} are not necessary for single statement blocks #1244: FILE: windows/netuio/netuio_queue.c:96: + if (ctx->dpdk_hw[idx].mdl == NULL) { + continue; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1245: FILE: windows/netuio/netuio_queue.c:97: + continue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1245: FILE: windows/netuio/netuio_queue.c:97: + continue;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1246: FILE: windows/netuio/netuio_queue.c:98: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1246: FILE: windows/netuio/netuio_queue.c:98: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1248: FILE: windows/netuio/netuio_queue.c:100: + MmBuildMdlForNonPagedPool(ctx->dpdk_hw[idx].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1248: FILE: windows/netuio/netuio_queue.c:100: + MmBuildMdlForNonPagedPool(ctx->dpdk_hw[idx].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1249: FILE: windows/netuio/netuio_queue.c:101: + __try {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1249: FILE: windows/netuio/netuio_queue.c:101: + __try {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1250: FILE: windows/netuio/netuio_queue.c:102: + ctx->dpdk_hw[idx].mem.user_mapped_virt_addr =$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1250: FILE: windows/netuio/netuio_queue.c:102: + ctx->dpdk_hw[idx].mem.user_mapped_virt_addr =$ ERROR:CODE_INDENT: code indent should use tabs where possible #1251: FILE: windows/netuio/netuio_queue.c:103: + MmMapLockedPagesSpecifyCache(ctx->dpdk_hw[idx].mdl, UserMode,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1251: FILE: windows/netuio/netuio_queue.c:103: + MmMapLockedPagesSpecifyCache(ctx->dpdk_hw[idx].mdl, UserMode,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1252: FILE: windows/netuio/netuio_queue.c:104: + MmCached, NULL, FALSE, NormalPagePriority);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1252: FILE: windows/netuio/netuio_queue.c:104: + MmCached, NULL, FALSE, NormalPagePriority);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1254: FILE: windows/netuio/netuio_queue.c:106: + if (ctx->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1254: FILE: windows/netuio/netuio_queue.c:106: + if (ctx->dpdk_hw[idx].mem.user_mapped_virt_addr == NULL) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1255: FILE: windows/netuio/netuio_queue.c:107: + status = STATUS_INSUFFICIENT_RESOURCES;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1255: FILE: windows/netuio/netuio_queue.c:107: + status = STATUS_INSUFFICIENT_RESOURCES;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1256: FILE: windows/netuio/netuio_queue.c:108: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1256: FILE: windows/netuio/netuio_queue.c:108: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1257: FILE: windows/netuio/netuio_queue.c:109: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1257: FILE: windows/netuio/netuio_queue.c:109: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1258: FILE: windows/netuio/netuio_queue.c:110: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1258: FILE: windows/netuio/netuio_queue.c:110: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1259: FILE: windows/netuio/netuio_queue.c:111: + __except (EXCEPTION_EXECUTE_HANDLER) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1259: FILE: windows/netuio/netuio_queue.c:111: + __except (EXCEPTION_EXECUTE_HANDLER) {$ WARNING:SPACING: space prohibited between function name and open parenthesis '(' #1259: FILE: windows/netuio/netuio_queue.c:111: + __except (EXCEPTION_EXECUTE_HANDLER) { ERROR:CODE_INDENT: code indent should use tabs where possible #1260: FILE: windows/netuio/netuio_queue.c:112: + status = GetExceptionCode();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1260: FILE: windows/netuio/netuio_queue.c:112: + status = GetExceptionCode();$ ERROR:CODE_INDENT: code indent should use tabs where possible #1261: FILE: windows/netuio/netuio_queue.c:113: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1261: FILE: windows/netuio/netuio_queue.c:113: + goto end;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1262: FILE: windows/netuio/netuio_queue.c:114: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1262: FILE: windows/netuio/netuio_queue.c:114: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1263: FILE: windows/netuio/netuio_queue.c:115: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1266: FILE: windows/netuio/netuio_queue.c:118: + if (status != STATUS_SUCCESS) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #1266: FILE: windows/netuio/netuio_queue.c:118: + if (status != STATUS_SUCCESS) { + netuio_unmap_address_from_user_process(ctx); + } ERROR:CODE_INDENT: code indent should use tabs where possible #1267: FILE: windows/netuio/netuio_queue.c:119: + netuio_unmap_address_from_user_process(ctx);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1267: FILE: windows/netuio/netuio_queue.c:119: + netuio_unmap_address_from_user_process(ctx);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1268: FILE: windows/netuio/netuio_queue.c:120: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1270: FILE: windows/netuio/netuio_queue.c:122: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1274: FILE: windows/netuio/netuio_queue.c:126: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1286: FILE: windows/netuio/netuio_queue.c:138: + for (INT idx = 0; idx < PCI_MAX_BAR; idx++) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1287: FILE: windows/netuio/netuio_queue.c:139: + if (ctx->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1287: FILE: windows/netuio/netuio_queue.c:139: + if (ctx->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) {$ WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1287: FILE: windows/netuio/netuio_queue.c:139: + if (ctx->dpdk_hw[idx].mem.user_mapped_virt_addr != NULL) { + MmUnmapLockedPages(ctx->dpdk_hw[idx].mem.user_mapped_virt_addr, ERROR:CODE_INDENT: code indent should use tabs where possible #1288: FILE: windows/netuio/netuio_queue.c:140: + MmUnmapLockedPages(ctx->dpdk_hw[idx].mem.user_mapped_virt_addr,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1288: FILE: windows/netuio/netuio_queue.c:140: + MmUnmapLockedPages(ctx->dpdk_hw[idx].mem.user_mapped_virt_addr,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1289: FILE: windows/netuio/netuio_queue.c:141: + ctx->dpdk_hw[idx].mdl);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1289: FILE: windows/netuio/netuio_queue.c:141: + ctx->dpdk_hw[idx].mdl);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1291: FILE: windows/netuio/netuio_queue.c:143: + ctx->dpdk_hw[idx].mem.user_mapped_virt_addr = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1291: FILE: windows/netuio/netuio_queue.c:143: + ctx->dpdk_hw[idx].mem.user_mapped_virt_addr = NULL;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1292: FILE: windows/netuio/netuio_queue.c:144: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1292: FILE: windows/netuio/netuio_queue.c:144: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1293: FILE: windows/netuio/netuio_queue.c:145: + }$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1297: FILE: windows/netuio/netuio_queue.c:149: +/* +Routine Description: WARNING:LEADING_SPACE: please, no spaces at the start of a line #1309: FILE: windows/netuio/netuio_queue.c:161: + WDFQUEUE queue;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1310: FILE: windows/netuio/netuio_queue.c:162: + NTSTATUS status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1311: FILE: windows/netuio/netuio_queue.c:163: + WDF_IO_QUEUE_CONFIG queueConfig;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1313: FILE: windows/netuio/netuio_queue.c:165: + PAGED_CODE();$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1315: FILE: windows/netuio/netuio_queue.c:167: + // Configure a default queue so that requests that are not$ ERROR:C99_COMMENTS: do not use C99 // comments #1315: FILE: windows/netuio/netuio_queue.c:167: + // Configure a default queue so that requests that are not WARNING:TYPO_SPELLING: 'fowarded' may be misspelled - perhaps 'forwarded'? #1316: FILE: windows/netuio/netuio_queue.c:168: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto WARNING:LEADING_SPACE: please, no spaces at the start of a line #1316: FILE: windows/netuio/netuio_queue.c:168: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto$ ERROR:C99_COMMENTS: do not use C99 // comments #1316: FILE: windows/netuio/netuio_queue.c:168: + // configure-fowarded using WdfDeviceConfigureRequestDispatching to goto WARNING:LEADING_SPACE: please, no spaces at the start of a line #1317: FILE: windows/netuio/netuio_queue.c:169: + // other queues get dispatched here.$ ERROR:C99_COMMENTS: do not use C99 // comments #1317: FILE: windows/netuio/netuio_queue.c:169: + // other queues get dispatched here. WARNING:LEADING_SPACE: please, no spaces at the start of a line #1318: FILE: windows/netuio/netuio_queue.c:170: + WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&queueConfig, WdfIoQueueDispatchParallel);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1320: FILE: windows/netuio/netuio_queue.c:172: + queueConfig.EvtIoDeviceControl = netuio_evt_IO_device_control;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1322: FILE: windows/netuio/netuio_queue.c:174: + status = WdfIoQueueCreate(Device,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1323: FILE: windows/netuio/netuio_queue.c:175: + &queueConfig,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1323: FILE: windows/netuio/netuio_queue.c:175: + &queueConfig,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1324: FILE: windows/netuio/netuio_queue.c:176: + WDF_NO_OBJECT_ATTRIBUTES,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1324: FILE: windows/netuio/netuio_queue.c:176: + WDF_NO_OBJECT_ATTRIBUTES,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1325: FILE: windows/netuio/netuio_queue.c:177: + &queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1325: FILE: windows/netuio/netuio_queue.c:177: + &queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1327: FILE: windows/netuio/netuio_queue.c:179: + if( !NT_SUCCESS(status) ) {$ ERROR:SPACING: space prohibited after that open parenthesis '(' #1327: FILE: windows/netuio/netuio_queue.c:179: + if( !NT_SUCCESS(status) ) { ERROR:SPACING: space prohibited before that close parenthesis ')' #1327: FILE: windows/netuio/netuio_queue.c:179: + if( !NT_SUCCESS(status) ) { ERROR:SPACING: space required before the open parenthesis '(' #1327: FILE: windows/netuio/netuio_queue.c:179: + if( !NT_SUCCESS(status) ) { WARNING:BRACES: braces {} are not necessary for single statement blocks #1327: FILE: windows/netuio/netuio_queue.c:179: + if( !NT_SUCCESS(status) ) { + return status; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1328: FILE: windows/netuio/netuio_queue.c:180: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1328: FILE: windows/netuio/netuio_queue.c:180: + return status;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1329: FILE: windows/netuio/netuio_queue.c:181: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1331: FILE: windows/netuio/netuio_queue.c:183: + return status;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1335: FILE: windows/netuio/netuio_queue.c:187: +/* +Routine Description: ERROR:CODE_INDENT: code indent should use tabs where possible #1345: FILE: windows/netuio/netuio_queue.c:197: + WDFREQUEST Request)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1345: FILE: windows/netuio/netuio_queue.c:197: + WDFREQUEST Request)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1347: FILE: windows/netuio/netuio_queue.c:199: + WDF_REQUEST_PARAMETERS params = { 0 };$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1348: FILE: windows/netuio/netuio_queue.c:200: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1349: FILE: windows/netuio/netuio_queue.c:201: + PVOID output_buf = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1350: FILE: windows/netuio/netuio_queue.c:202: + size_t output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1351: FILE: windows/netuio/netuio_queue.c:203: + size_t bytes_returned = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1352: FILE: windows/netuio/netuio_queue.c:204: + PNETUIO_CONTEXT_DATA ctx = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1354: FILE: windows/netuio/netuio_queue.c:206: + ctx = netuio_get_context_data(Device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1356: FILE: windows/netuio/netuio_queue.c:208: + WDF_REQUEST_PARAMETERS_INIT(¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1357: FILE: windows/netuio/netuio_queue.c:209: + WdfRequestGetParameters(Request, ¶ms);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1359: FILE: windows/netuio/netuio_queue.c:211: + // We only need to be in the context of the process that initiated the request$ ERROR:C99_COMMENTS: do not use C99 // comments #1359: FILE: windows/netuio/netuio_queue.c:211: + // 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 #1360: FILE: windows/netuio/netuio_queue.c:212: + //when we need to map memory to userspace. Otherwise, send the request back to framework.$ ERROR:C99_COMMENTS: do not use C99 // comments #1360: FILE: windows/netuio/netuio_queue.c:212: + //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 #1361: FILE: windows/netuio/netuio_queue.c:213: + if (!((params.Type == WdfRequestTypeDeviceControl) &&$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1361: FILE: windows/netuio/netuio_queue.c:213: + if (!((params.Type == WdfRequestTypeDeviceControl) && + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE))) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1362: FILE: windows/netuio/netuio_queue.c:214: + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE)))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1362: FILE: windows/netuio/netuio_queue.c:214: + (params.Parameters.DeviceIoControl.IoControlCode == IOCTL_NETUIO_MAP_HW_INTO_USERMODE)))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1363: FILE: windows/netuio/netuio_queue.c:215: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1364: FILE: windows/netuio/netuio_queue.c:216: + status = WdfDeviceEnqueueRequest(Device, Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1364: FILE: windows/netuio/netuio_queue.c:216: + status = WdfDeviceEnqueueRequest(Device, Request);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1366: FILE: windows/netuio/netuio_queue.c:218: + if (!NT_SUCCESS(status))$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1366: FILE: windows/netuio/netuio_queue.c:218: + if (!NT_SUCCESS(status))$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1366: FILE: windows/netuio/netuio_queue.c:218: + if (!NT_SUCCESS(status)) + { WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 12) #1366: FILE: windows/netuio/netuio_queue.c:218: + if (!NT_SUCCESS(status)) + { ERROR:CODE_INDENT: code indent should use tabs where possible #1367: FILE: windows/netuio/netuio_queue.c:219: + {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1367: FILE: windows/netuio/netuio_queue.c:219: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1368: FILE: windows/netuio/netuio_queue.c:220: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1368: FILE: windows/netuio/netuio_queue.c:220: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ ERROR:CODE_INDENT: code indent should use tabs where possible #1369: FILE: windows/netuio/netuio_queue.c:221: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1369: FILE: windows/netuio/netuio_queue.c:221: + }$ ERROR:CODE_INDENT: code indent should use tabs where possible #1370: FILE: windows/netuio/netuio_queue.c:222: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1370: FILE: windows/netuio/netuio_queue.c:222: + return;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1371: FILE: windows/netuio/netuio_queue.c:223: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1373: FILE: windows/netuio/netuio_queue.c:225: + // Return relevant data to the caller$ ERROR:C99_COMMENTS: do not use C99 // comments #1373: FILE: windows/netuio/netuio_queue.c:225: + // Return relevant data to the caller WARNING:LONG_LINE: line over 100 characters #1374: FILE: windows/netuio/netuio_queue.c:226: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(struct device_info), &output_buf, &output_buf_size); WARNING:LEADING_SPACE: please, no spaces at the start of a line #1374: FILE: windows/netuio/netuio_queue.c:226: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(struct device_info), &output_buf, &output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1375: FILE: windows/netuio/netuio_queue.c:227: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1376: FILE: windows/netuio/netuio_queue.c:228: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1376: FILE: windows/netuio/netuio_queue.c:228: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1377: FILE: windows/netuio/netuio_queue.c:229: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1377: FILE: windows/netuio/netuio_queue.c:229: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1378: FILE: windows/netuio/netuio_queue.c:230: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1380: FILE: windows/netuio/netuio_queue.c:232: + status = netuio_map_address_into_user_process(ctx, Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1381: FILE: windows/netuio/netuio_queue.c:233: + if (status != STATUS_SUCCESS) {$ WARNING:BRACES: braces {} are not necessary for single statement blocks #1381: FILE: windows/netuio/netuio_queue.c:233: + if (status != STATUS_SUCCESS) { + goto end; + } ERROR:CODE_INDENT: code indent should use tabs where possible #1382: FILE: windows/netuio/netuio_queue.c:234: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1382: FILE: windows/netuio/netuio_queue.c:234: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1383: FILE: windows/netuio/netuio_queue.c:235: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1385: FILE: windows/netuio/netuio_queue.c:237: + netuio_set_usermode_mapping_flag(Request);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1387: FILE: windows/netuio/netuio_queue.c:239: + netuio_handle_get_hw_data_request(ctx, output_buf, output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1388: FILE: windows/netuio/netuio_queue.c:240: + bytes_returned = output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1391: FILE: windows/netuio/netuio_queue.c:243: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1393: FILE: windows/netuio/netuio_queue.c:245: + return;$ WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines #1397: FILE: windows/netuio/netuio_queue.c:249: +/* +Routine Description: ERROR:CODE_INDENT: code indent should use tabs where possible #1406: FILE: windows/netuio/netuio_queue.c:258: + size_t OutputBufferLength, size_t InputBufferLength,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1406: FILE: windows/netuio/netuio_queue.c:258: + size_t OutputBufferLength, size_t InputBufferLength,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1407: FILE: windows/netuio/netuio_queue.c:259: + ULONG IoControlCode)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1407: FILE: windows/netuio/netuio_queue.c:259: + ULONG IoControlCode)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1409: FILE: windows/netuio/netuio_queue.c:261: + UNREFERENCED_PARAMETER(OutputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1410: FILE: windows/netuio/netuio_queue.c:262: + UNREFERENCED_PARAMETER(InputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1412: FILE: windows/netuio/netuio_queue.c:264: + NTSTATUS status = STATUS_SUCCESS;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1413: FILE: windows/netuio/netuio_queue.c:265: + PVOID input_buf = NULL, output_buf = NULL;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1414: FILE: windows/netuio/netuio_queue.c:266: + size_t input_buf_size, output_buf_size;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1415: FILE: windows/netuio/netuio_queue.c:267: + size_t bytes_returned = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1417: FILE: windows/netuio/netuio_queue.c:269: + WDFDEVICE device = WdfIoQueueGetDevice(Queue);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1419: FILE: windows/netuio/netuio_queue.c:271: + PNETUIO_CONTEXT_DATA ctx;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1420: FILE: windows/netuio/netuio_queue.c:272: + ctx = netuio_get_context_data(device);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1422: FILE: windows/netuio/netuio_queue.c:274: + if (IoControlCode != IOCTL_NETUIO_PCI_CONFIG_IO)$ ERROR:OPEN_BRACE: that open brace { should be on the previous line #1422: FILE: windows/netuio/netuio_queue.c:274: + if (IoControlCode != IOCTL_NETUIO_PCI_CONFIG_IO) + { WARNING:LEADING_SPACE: please, no spaces at the start of a line #1423: FILE: windows/netuio/netuio_queue.c:275: + {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1424: FILE: windows/netuio/netuio_queue.c:276: + status = STATUS_INVALID_DEVICE_REQUEST;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1424: FILE: windows/netuio/netuio_queue.c:276: + status = STATUS_INVALID_DEVICE_REQUEST;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1425: FILE: windows/netuio/netuio_queue.c:277: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1425: FILE: windows/netuio/netuio_queue.c:277: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1426: FILE: windows/netuio/netuio_queue.c:278: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1428: FILE: windows/netuio/netuio_queue.c:280: + // First retrieve the input buffer and see if it matches our device$ ERROR:C99_COMMENTS: do not use C99 // comments #1428: FILE: windows/netuio/netuio_queue.c:280: + // First retrieve the input buffer and see if it matches our device WARNING:LONG_LINE: line over 100 characters #1429: FILE: windows/netuio/netuio_queue.c:281: + 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 #1429: FILE: windows/netuio/netuio_queue.c:281: + 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 #1430: FILE: windows/netuio/netuio_queue.c:282: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1431: FILE: windows/netuio/netuio_queue.c:283: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1431: FILE: windows/netuio/netuio_queue.c:283: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1432: FILE: windows/netuio/netuio_queue.c:284: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1432: FILE: windows/netuio/netuio_queue.c:284: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1433: FILE: windows/netuio/netuio_queue.c:285: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1435: FILE: windows/netuio/netuio_queue.c:287: + 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 #1437: FILE: windows/netuio/netuio_queue.c:289: + if (dpdk_pci_io_input->access_size != 1 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1438: FILE: windows/netuio/netuio_queue.c:290: + dpdk_pci_io_input->access_size != 2 &&$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1438: FILE: windows/netuio/netuio_queue.c:290: + dpdk_pci_io_input->access_size != 2 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1439: FILE: windows/netuio/netuio_queue.c:291: + dpdk_pci_io_input->access_size != 4 &&$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1439: FILE: windows/netuio/netuio_queue.c:291: + dpdk_pci_io_input->access_size != 4 &&$ ERROR:CODE_INDENT: code indent should use tabs where possible #1440: FILE: windows/netuio/netuio_queue.c:292: + dpdk_pci_io_input->access_size != 8) {$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1440: FILE: windows/netuio/netuio_queue.c:292: + dpdk_pci_io_input->access_size != 8) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1441: FILE: windows/netuio/netuio_queue.c:293: + status = STATUS_INVALID_PARAMETER;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1441: FILE: windows/netuio/netuio_queue.c:293: + status = STATUS_INVALID_PARAMETER;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1442: FILE: windows/netuio/netuio_queue.c:294: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1442: FILE: windows/netuio/netuio_queue.c:294: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1443: FILE: windows/netuio/netuio_queue.c:295: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1445: FILE: windows/netuio/netuio_queue.c:297: + // Retrieve output buffer$ ERROR:C99_COMMENTS: do not use C99 // comments #1445: FILE: windows/netuio/netuio_queue.c:297: + // Retrieve output buffer WARNING:LEADING_SPACE: please, no spaces at the start of a line #1446: FILE: windows/netuio/netuio_queue.c:298: + status = WdfRequestRetrieveOutputBuffer(Request, sizeof(UINT64), &output_buf, &output_buf_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1447: FILE: windows/netuio/netuio_queue.c:299: + if (!NT_SUCCESS(status)) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1448: FILE: windows/netuio/netuio_queue.c:300: + status = STATUS_INVALID_BUFFER_SIZE;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1448: FILE: windows/netuio/netuio_queue.c:300: + status = STATUS_INVALID_BUFFER_SIZE;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1449: FILE: windows/netuio/netuio_queue.c:301: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1449: FILE: windows/netuio/netuio_queue.c:301: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1450: FILE: windows/netuio/netuio_queue.c:302: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1451: FILE: windows/netuio/netuio_queue.c:303: + ASSERT(output_buf_size == OutputBufferLength);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1453: FILE: windows/netuio/netuio_queue.c:305: + if (dpdk_pci_io_input->op == PCI_IO_READ) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #1454: FILE: windows/netuio/netuio_queue.c:306: + *(UINT64 *)output_buf = 0;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1454: FILE: windows/netuio/netuio_queue.c:306: + *(UINT64 *)output_buf = 0;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1455: FILE: windows/netuio/netuio_queue.c:307: + bytes_returned = ctx->bus_interface.GetBusData($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1455: FILE: windows/netuio/netuio_queue.c:307: + bytes_returned = ctx->bus_interface.GetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #1456: FILE: windows/netuio/netuio_queue.c:308: + ctx->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1456: FILE: windows/netuio/netuio_queue.c:308: + ctx->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1457: FILE: windows/netuio/netuio_queue.c:309: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1457: FILE: windows/netuio/netuio_queue.c:309: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1458: FILE: windows/netuio/netuio_queue.c:310: + output_buf,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1458: FILE: windows/netuio/netuio_queue.c:310: + output_buf,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1459: FILE: windows/netuio/netuio_queue.c:311: + dpdk_pci_io_input->offset,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1459: FILE: windows/netuio/netuio_queue.c:311: + dpdk_pci_io_input->offset,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1460: FILE: windows/netuio/netuio_queue.c:312: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1460: FILE: windows/netuio/netuio_queue.c:312: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1461: FILE: windows/netuio/netuio_queue.c:313: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1462: FILE: windows/netuio/netuio_queue.c:314: + else if (dpdk_pci_io_input->op == PCI_IO_WRITE) {$ ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #1462: FILE: windows/netuio/netuio_queue.c:314: + } + else if (dpdk_pci_io_input->op == PCI_IO_WRITE) { ERROR:CODE_INDENT: code indent should use tabs where possible #1463: FILE: windows/netuio/netuio_queue.c:315: + // returns bytes written$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1463: FILE: windows/netuio/netuio_queue.c:315: + // returns bytes written$ ERROR:C99_COMMENTS: do not use C99 // comments #1463: FILE: windows/netuio/netuio_queue.c:315: + // returns bytes written ERROR:CODE_INDENT: code indent should use tabs where possible #1464: FILE: windows/netuio/netuio_queue.c:316: + bytes_returned = ctx->bus_interface.SetBusData($ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1464: FILE: windows/netuio/netuio_queue.c:316: + bytes_returned = ctx->bus_interface.SetBusData($ ERROR:CODE_INDENT: code indent should use tabs where possible #1465: FILE: windows/netuio/netuio_queue.c:317: + ctx->bus_interface.Context,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1465: FILE: windows/netuio/netuio_queue.c:317: + ctx->bus_interface.Context,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1466: FILE: windows/netuio/netuio_queue.c:318: + PCI_WHICHSPACE_CONFIG,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1466: FILE: windows/netuio/netuio_queue.c:318: + PCI_WHICHSPACE_CONFIG,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1467: FILE: windows/netuio/netuio_queue.c:319: + (PVOID)&dpdk_pci_io_input->data,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1467: FILE: windows/netuio/netuio_queue.c:319: + (PVOID)&dpdk_pci_io_input->data,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1468: FILE: windows/netuio/netuio_queue.c:320: + dpdk_pci_io_input->offset,$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1468: FILE: windows/netuio/netuio_queue.c:320: + dpdk_pci_io_input->offset,$ ERROR:CODE_INDENT: code indent should use tabs where possible #1469: FILE: windows/netuio/netuio_queue.c:321: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1469: FILE: windows/netuio/netuio_queue.c:321: + dpdk_pci_io_input->access_size);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1470: FILE: windows/netuio/netuio_queue.c:322: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1471: FILE: windows/netuio/netuio_queue.c:323: + else {$ ERROR:ELSE_AFTER_BRACE: else should follow close brace '}' #1471: FILE: windows/netuio/netuio_queue.c:323: + } + else { ERROR:CODE_INDENT: code indent should use tabs where possible #1472: FILE: windows/netuio/netuio_queue.c:324: + status = STATUS_INVALID_PARAMETER;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1472: FILE: windows/netuio/netuio_queue.c:324: + status = STATUS_INVALID_PARAMETER;$ ERROR:CODE_INDENT: code indent should use tabs where possible #1473: FILE: windows/netuio/netuio_queue.c:325: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1473: FILE: windows/netuio/netuio_queue.c:325: + goto end;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1474: FILE: windows/netuio/netuio_queue.c:326: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1477: FILE: windows/netuio/netuio_queue.c:329: + WdfRequestCompleteWithInformation(Request, status, bytes_returned);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #1479: FILE: windows/netuio/netuio_queue.c:331: + return;$ ERROR:C99_COMMENTS: do not use C99 // comments #1501: FILE: windows/netuio/netuio_queue.h:14: +// Events from the IoQueue object ERROR:C99_COMMENTS: do not use C99 // comments #1506: FILE: windows/netuio/netuio_queue.h:19: +#endif // NETUIO_QUEUE_H total: 298 errors, 511 warnings, 1272 lines checked