From: William Lee Irwin III <wli@holomorphy.com>
To: akpm@digeo.com
Cc: linux-kernel@vger.kernel.org
Subject: arch/i386/kernel/srat.c cast warning fix
Date: Thu, 22 May 2003 08:54:11 -0700 [thread overview]
Message-ID: <20030522155411.GQ29926@holomorphy.com> (raw)
diff -prauN mm8-2.5.69-1/arch/i386/kernel/srat.c mm8-2.5.69-2/arch/i386/kernel/srat.c
--- mm8-2.5.69-1/arch/i386/kernel/srat.c 2003-05-04 16:53:07.000000000 -0700
+++ mm8-2.5.69-2/arch/i386/kernel/srat.c 2003-05-22 08:06:42.000000000 -0700
@@ -312,7 +312,8 @@ void __init get_memcfg_from_srat(void)
if (rsdp_address->pointer_type == ACPI_PHYSICAL_POINTER) {
printk("%s: assigning address to rsdp\n", __FUNCTION__);
- rsdp = (struct acpi_table_rsdp *)rsdp_address->pointer.physical;
+ rsdp = (struct acpi_table_rsdp *)
+ (u32)rsdp_address->pointer.physical;
} else {
printk("%s: rsdp_address is not a physical pointer\n", __FUNCTION__);
return;
reply other threads:[~2003-05-22 15:41 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=20030522155411.GQ29926@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@digeo.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®