From: Alex Williamson <alex.williamson@hp.com>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: len.brown@intel.com, acpi-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [ACPI] [PATCH] `unaligned access' in acpi get_root_bridge_busnr()
Date: Thu, 20 Oct 2005 08:44:19 -0600 [thread overview]
Message-ID: <1129819459.29828.2.camel@lts1.fc.hp.com> (raw)
In-Reply-To: <17239.4347.595396.783239@berry.gelato.unsw.EDU.AU>
On Thu, 2005-10-20 at 13:37 +1000, Peter Chubb wrote:
> In drivers/acpi/glue.c the address of an integer is cast to the
> address of an unsigned long. This breaks on systems where a long is
> larger than an int --- for a start the int can be misaligned; for a
> second the assignment through the pointer will overwrite part of the
> next variable.
>
FWIW, I posted a nearly identical patch back at the end of September:
http://marc.theaimsgroup.com/?l=acpi4linux&m=112775252600038
No word of it getting anywhere. Thanks,
Alex
--
prev parent reply other threads:[~2005-10-20 14:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 3:37 [PATCH] `unaligned access' in acpi get_root_bridge_busnr() Peter Chubb
[not found] ` <17239.4347.595396.783239-t0Sv2hkTHA9yuP2ZY8HSTlptZk9uqtcn@public.gmane.org>
2005-10-20 11:27 ` Jiri Slaby
2005-10-20 14:44 ` Alex Williamson [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=1129819459.29828.2.camel@lts1.fc.hp.com \
--to=alex.williamson@hp.com \
--cc=acpi-devel@lists.sourceforge.net \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterc@gelato.unsw.edu.au \
/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