NetBSD Problem Report #51579

From www@NetBSD.org  Wed Oct 26 11:50:54 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 61EB47A2BC
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 Oct 2016 11:50:54 +0000 (UTC)
Message-Id: <20161026115053.4BD2B7A2C1@mollari.NetBSD.org>
Date: Wed, 26 Oct 2016 11:50:53 +0000 (UTC)
From: henning-petersen@t-online.de
Reply-To: henning-petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Replace more commas with semicolons in dmresrcl2.c
X-Send-Pr-Version: www-1.0

>Number:         51579
>Category:       kern
>Synopsis:       Replace more commas with semicolons in dmresrcl2.c
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 26 11:55:00 +0000 2016
>Closed-Date:    Mon Oct 31 05:18:14 +0000 2016
>Last-Modified:  Mon Oct 31 05:18:14 +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 */

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51579 CVS commit: src/sys/external/bsd/acpica/dist/disassembler
Date: Wed, 26 Oct 2016 11:41:04 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Wed Oct 26 15:41:04 UTC 2016

 Modified Files:
 	src/sys/external/bsd/acpica/dist/disassembler: dmresrcl2.c

 Log Message:
 PR/51579: Henning Petersen: Fix more , -> ;


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 \
     src/sys/external/bsd/acpica/dist/disassembler/dmresrcl2.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 31 Oct 2016 05:18:14 +0000
State-Changed-Why:
committed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.