NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/51579: Replace more commas with semicolons in dmresrcl2.c



>Number:         51579
>Category:       kern
>Synopsis:       Replace more commas with semicolons in dmresrcl2.c
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 26 11:55:00 +0000 2016
>Originator:     henning petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Replace commas with semicolons
>How-To-Repeat:

>Fix:
diff -u -u -p -r1.6 dmresrcl2.c
--- sys/external/bsd/acpica/dist/disassembler/dmresrcl2.c	9 Oct 2016 14:35:33 -0000	1.6
+++ sys/external/bsd/acpica/dist/disassembler/dmresrcl2.c	26 Oct 2016 11:34:27 -0000
@@ -203,7 +203,7 @@ AcpiDmGpioCommon (
     if (Resource->Gpio.ResSourceOffset)
     {
         DeviceName = ACPI_ADD_PTR (char,
-            Resource, Resource->Gpio.ResSourceOffset),
+            Resource, Resource->Gpio.ResSourceOffset);
         AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX);
     }
 
@@ -601,7 +601,7 @@ AcpiDmSpiSerialBusDescriptor (
     ResourceSourceOffset = sizeof (AML_RESOURCE_COMMON_SERIALBUS) +
         Resource->CommonSerialBus.TypeDataLength;
 
-    DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset),
+    DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
     AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX);
 
     /* ResourceSourceIndex, ResourceUsage */
@@ -687,7 +687,7 @@ AcpiDmUartSerialBusDescriptor (
     ResourceSourceOffset = sizeof (AML_RESOURCE_COMMON_SERIALBUS) +
         Resource->CommonSerialBus.TypeDataLength;
 
-    DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset),
+    DeviceName = ACPI_ADD_PTR (char, Resource, ResourceSourceOffset);
     AcpiUtPrintString (DeviceName, ACPI_UINT16_MAX);
 
     /* ResourceSourceIndex, ResourceUsage */



Home | Main Index | Thread Index | Old Index