From: Greg Edwards <edwardsg@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] missed ia64 fadt_descriptor_rev2 reference
Date: Fri, 23 Jun 2006 20:45:25 +0000 [thread overview]
Message-ID: <20060623204525.GA29658@sgi.com> (raw)
I've hit a compile error in current git due to a missed
fadt_descriptor_rev2 -> fadt_descriptor conversion in
arch/ia64/kernel/acpi.c:
CC arch/ia64/kernel/acpi.o
arch/ia64/kernel/acpi.c: In function ‘acpi_parse_fadt’:
arch/ia64/kernel/acpi.c:632: error: dereferencing pointer to incomplete type
arch/ia64/kernel/acpi.c:635: error: dereferencing pointer to incomplete type
arch/ia64/kernel/acpi.c:638: error: dereferencing pointer to incomplete type
make[1]: *** [arch/ia64/kernel/acpi.o] Error 1
make: *** [arch/ia64/kernel] Error 2
that came in with this changeset:
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;hy3c2388cae3fd023b3b5166354931752d42353c
Signed-off-by: Greg Edwards <edwardsg@sgi.com>
---
arch/ia64/kernel/acpi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: git-linus/arch/ia64/kernel/acpi.c
=================================--- git-linus.orig/arch/ia64/kernel/acpi.c 2006-06-23 13:58:59.000000000 -0500
+++ git-linus/arch/ia64/kernel/acpi.c 2006-06-23 15:21:41.588064728 -0500
@@ -618,7 +618,7 @@ EXPORT_SYMBOL(acpi_unregister_gsi);
static int __init acpi_parse_fadt(unsigned long phys_addr, unsigned long size)
{
struct acpi_table_header *fadt_header;
- struct fadt_descriptor_rev2 *fadt;
+ struct fadt_descriptor *fadt;
if (!phys_addr || !size)
return -EINVAL;
@@ -627,7 +627,7 @@ static int __init acpi_parse_fadt(unsign
if (fadt_header->revision != 3)
return -ENODEV; /* Only deal with ACPI 2.0 FADT */
- fadt = (struct fadt_descriptor_rev2 *)fadt_header;
+ fadt = (struct fadt_descriptor *)fadt_header;
if (!(fadt->iapc_boot_arch & BAF_8042_KEYBOARD_CONTROLLER))
acpi_kbd_controller_present = 0;
reply other threads:[~2006-06-23 20:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060623204525.GA29658@sgi.com \
--to=edwardsg@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.