From: Zhang Rui Date: Tue, 30 Jun 2009 18:41:31 +0000 (-0700) Subject: kernel/resource.c: fix sign extension in reserve_setup() X-Git-Tag: v2.6.27.27~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a6403211958921247f4e65b16376e6ec706a0d;p=pandora-kernel.git kernel/resource.c: fix sign extension in reserve_setup() commit 8bc1ad7dd301b7ca7454013519fa92e8c53655ff upstream. When the 32-bit signed quantities get assigned to the u64 resource_size_t, they are incorrectly sign-extended. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13253 Addresses http://bugzilla.kernel.org/show_bug.cgi?id=9905 Signed-off-by: Zhang Rui Reported-by: Leann Ogasawara Cc: Pierre Ossman Reported-by: Tested-by: Cc: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed