diff options
author | Peter Chubb <peterc@gelato.unsw.edu.au> | 2005-10-20 07:45:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-20 08:04:31 +0200 |
commit | 51b190b304bbeb1090ba20b0623d39917fa62997 (patch) | |
tree | ff136b65291671ca93f65aff101c1b5ead5f9a9b /mm | |
parent | [PATCH] fix MGA DRM regression before 2.6.14 (diff) | |
download | linux-51b190b304bbeb1090ba20b0623d39917fa62997.tar.xz linux-51b190b304bbeb1090ba20b0623d39917fa62997.zip |
[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')
0 files changed, 0 insertions, 0 deletions