From patchwork Tue May 18 20:25:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Starikovskiy X-Patchwork-Id: 100599 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4IKPSmj024836 for ; Tue, 18 May 2010 20:25:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755287Ab0ERUZ2 (ORCPT ); Tue, 18 May 2010 16:25:28 -0400 Received: from nat.nue.novell.com ([195.135.221.3]:44487 "EHLO nat.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755260Ab0ERUZ1 (ORCPT ); Tue, 18 May 2010 16:25:27 -0400 Received: from [127.0.1.1] ([149.44.162.75]) by nat.nue.novell.com with ESMTP; Tue, 18 May 2010 22:25:25 +0200 Subject: [PATCH 1/3] ACPICA: make ObjectCount to be UINT32 To: Robert Moore , Len Brown From: Alexey Starikovskiy Cc: Linux-acpi@vger.kernel.org Date: Wed, 19 May 2010 00:25:24 +0400 Message-ID: <20100518202524.29771.96252.stgit@thinkpad> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 18 May 2010 20:25:29 +0000 (UTC) diff --git a/source/components/dispatcher/dsinit.c b/source/components/dispatcher/dsinit.c index 4525a0b..349c774 100644 --- a/source/components/dispatcher/dsinit.c +++ b/source/components/dispatcher/dsinit.c @@ -297,7 +297,7 @@ AcpiDsInitializeObjects ( } ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, - "\nTable [%4.4s](id %4.4X) - %hd Objects with %hd Devices %hd Methods %hd Regions\n", + "\nTable [%4.4s](id %4.4X) - %d Objects with %hd Devices %hd Methods %hd Regions\n", Table->Signature, OwnerId, Info.ObjectCount, Info.DeviceCount, Info.MethodCount, Info.OpRegionCount)); diff --git a/source/components/namespace/nsinit.c b/source/components/namespace/nsinit.c index 770235e..e59eb8e 100644 --- a/source/components/namespace/nsinit.c +++ b/source/components/namespace/nsinit.c @@ -194,7 +194,7 @@ AcpiNsInitializeObjects ( ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\nInitialized %hd/%hd Regions %hd/%hd Fields %hd/%hd " - "Buffers %hd/%hd Packages (%hd nodes)\n", + "Buffers %hd/%hd Packages (%d nodes)\n", Info.OpRegionInit, Info.OpRegionCount, Info.FieldInit, Info.FieldCount, Info.BufferInit, Info.BufferCount, diff --git a/source/include/acstruct.h b/source/include/acstruct.h index d4696b8..8f9c550 100644 --- a/source/include/acstruct.h +++ b/source/include/acstruct.h @@ -218,7 +218,7 @@ typedef struct acpi_init_walk_info UINT16 FieldInit; UINT16 BufferInit; UINT16 PackageInit; - UINT16 ObjectCount; + UINT32 ObjectCount; ACPI_OWNER_ID OwnerId; UINT32 TableIndex;