From: Peter Chubb Date: Thu, 20 Oct 2005 05:45:14 +0000 (-0700) Subject: [PATCH] `unaligned access' in acpi get_root_bridge_busnr() X-Git-Tag: v2.6.14-rc5~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b190b304bbeb1090ba20b0623d39917fa62997;p=pandora-kernel.git [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 Acked-by: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed