diff options
author | Peter Chubb <peterc@gelato.unsw.edu.au> | 2005-10-19 22:45:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-19 23:04:31 -0700 |
commit | 51b190b304bbeb1090ba20b0623d39917fa62997 (patch) | |
tree | ff136b65291671ca93f65aff101c1b5ead5f9a9b /mm/bootmem.c | |
parent | 11909d64389c24b409e20f0eeafdc262e0a55788 (diff) |
[PATCH] `unaligned access' in acpi get_root_bridge_busnr()
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.
Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Acked-by: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions