lkml.org 
[lkml]   [2005]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ACPI] [PATCH] `unaligned access' in acpi get_root_bridge_busnr()
From
Date
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

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-20 16:46    [W:0.044 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site