Re: [ACPI] [PATCH] `unaligned access' in acpiget_root_bridge_busnr()

From: Alex Williamson
Date: Thu Oct 20 2005 - 09:44:40 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/