From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd)
Date: Mon, 11 Aug 2003 08:40:38 -0700 (PDT) [thread overview]
Message-ID: <20030811083953.M86598@root.org> (raw)
FYI. I hope Intel includes this fix in next drop.
---------- Forwarded message ----------
From: Nate Lawson <njl-HZy0K5TPuP5AfugRpC6u6w@public.gmane.org>
njl 2003/08/10 22:54:31 PDT
FreeBSD src repository
Modified files: (Branch: INTEL)
sys/contrib/dev/acpica osunixxf.c
Log:
Fix AcpiOsMapMemory to match the function definition. Don't use UINT32
as a cast for a pointer. Change has been submitted to the vendor.
Pointed out by: marcel, obrien
Revision Changes Path
1.1.1.3 +2 -2 src/sys/contrib/dev/acpica/osunixxf.c
--- src/sys/contrib/dev/acpica/osunixxf.c:1.1.1.2 Thu Aug 7 11:19:12 2003
+++ src/sys/contrib/dev/acpica/osunixxf.c Sun Aug 10 22:54:31 2003
@@ -452,10 +452,10 @@
ACPI_STATUS
AcpiOsMapMemory (
ACPI_PHYSICAL_ADDRESS where,
- UINT32 length,
+ ACPI_SIZE length,
void **there)
{
- *there = (void *) (UINT32) where;
+ *there = (void *) (uintptr_t) where;
return AE_OK;
}
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
next reply other threads:[~2003-08-11 15:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-11 15:40 Nate Lawson [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-12 15:54 cvs commit: src/sys/contrib/dev/acpica osunixxf.c (fwd) Nate Lawson
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=20030811083953.M86598@root.org \
--to=nate-y6vguytwhu0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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