summaryrefslogtreecommitdiff
path: root/include/linux/bootmem.h
diff options
context:
space:
mode:
authorPeter Chubb <peterc@gelato.unsw.edu.au>2005-10-20 09:45:14 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-20 10:04:31 +0400
commit51b190b304bbeb1090ba20b0623d39917fa62997 (patch)
treeff136b65291671ca93f65aff101c1b5ead5f9a9b /include/linux/bootmem.h
parent11909d64389c24b409e20f0eeafdc262e0a55788 (diff)
downloadlinux-51b190b304bbeb1090ba20b0623d39917fa62997.tar.xz
[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 'include/linux/bootmem.h')
0 files changed, 0 insertions, 0 deletions