Messages in this thread | | | Subject | Re: [ACPI] [PATCH] `unaligned access' in acpi get_root_bridge_busnr() | From | Alex Williamson <> | Date | Thu, 20 Oct 2005 08:44:19 -0600 |
| |
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/
| |