From: Jeff Garzik <jeff@garzik.org>
To: akpm@osdl.org
Cc: len.brown@intel.com, linux-acpi@vger.kernel.org, mbligh@google.com
Subject: Re: [patch 11/12] Fix up a multitude of ACPI compiler warnings on x86_64
Date: Tue, 10 Oct 2006 18:13:20 -0400 [thread overview]
Message-ID: <452C1B00.7050305@garzik.org> (raw)
In-Reply-To: <200610102120.k9ALKjNc024296@shell0.pdx.osdl.net>
akpm@osdl.org wrote:
> From: Martin Bligh <mbligh@google.com>
>
> 32bit vs 64 bit issues. sizeof(sizeof) and sizeof(pointer) is variable,
> but we're trying to shove it into unsigned int or u32.
>
> Casts to unsigned long are used because type acpi_thread_id can be any one of
>
> typedef u64 acpi_native_uint;
> typedef u32 acpi_native_uint;
> typedef u16 acpi_native_uint;
> #define acpi_thread_id struct task_struct *
>
> Signed-off-by: Martin J. Bligh <mbligh@google.com>
> Cc: "Brown, Len" <len.brown@intel.com>
> Cc: Jeff Garzik <jeff@garzik.org>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/acpi/executer/exmutex.c | 6 +++---
> drivers/acpi/utilities/utdebug.c | 5 +++--
> drivers/acpi/utilities/utmutex.c | 16 +++++++++-------
> 3 files changed, 15 insertions(+), 12 deletions(-)
ACK
prev parent reply other threads:[~2006-10-10 22:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 21:20 [patch 11/12] Fix up a multitude of ACPI compiler warnings on x86_64 akpm
2006-10-10 22:13 ` Jeff Garzik [this message]
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=452C1B00.7050305@garzik.org \
--to=jeff@garzik.org \
--cc=akpm@osdl.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=mbligh@google.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