diff options
author | Zhang Rui <rui.zhang@intel.com> | 2009-06-30 20:41:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-01 03:56:00 +0200 |
commit | 8bc1ad7dd301b7ca7454013519fa92e8c53655ff (patch) | |
tree | 602ec95fa99b0256370f3d887953cb30e159cc25 /Documentation/i2c | |
parent | spi: bitbang bugfix in message setup (diff) | |
download | linux-8bc1ad7dd301b7ca7454013519fa92e8c53655ff.tar.xz linux-8bc1ad7dd301b7ca7454013519fa92e8c53655ff.zip |
kernel/resource.c: fix sign extension in reserve_setup()
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 <rui.zhang@intel.com>
Reported-by: Leann Ogasawara <leann@ubuntu.com>
Cc: Pierre Ossman <drzeus@drzeus.cx>
Reported-by: <pablomme@googlemail.com>
Tested-by: <pablomme@googlemail.com>
Cc: <stable@kernel.org>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions