From: Alexey Starikovskiy <astarikovskiy@suse.de>
To: Robert Moore <robert.moore@intel.com>, Len Brown <lenb@kernel.org>
Cc: Linux-acpi@vger.kernel.org
Subject: [PATCH 1/3] ACPICA: make ObjectCount to be UINT32
Date: Wed, 19 May 2010 00:25:24 +0400 [thread overview]
Message-ID: <20100518202524.29771.96252.stgit@thinkpad> (raw)
SGI UV machine does not fit into UINT16 count
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
---
source/components/dispatcher/dsinit.c | 2 +-
source/components/namespace/nsinit.c | 2 +-
source/include/acstruct.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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;
next reply other threads:[~2010-05-18 20:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 20:25 Alexey Starikovskiy [this message]
2010-05-18 20:25 ` [PATCH 2/3] ACPICA: Keep track of method changes to namespace Alexey Starikovskiy
2010-05-18 20:25 ` [PATCH 3/3] ACPICA: Add direct pointer to parent Alexey Starikovskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100518202524.29771.96252.stgit@thinkpad \
--to=astarikovskiy@suse.de \
--cc=Linux-acpi@vger.kernel.org \
--cc=lenb@kernel.org \
--cc=robert.moore@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).