Skip to content
Commit 51b190b3 authored by Peter Chubb's avatar Peter Chubb Committed by Linus Torvalds
Browse files

[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: default avatarPeter Chubb <peterc@gelato.unsw.edu.au>
Acked-by: default avatar"Brown, Len" <len.brown@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 11909d64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment