diff options
author | Toshi Kikuchi <toshik@chromium.org> | 2015-02-12 15:02:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 18:54:14 -0800 |
commit | ad3d5d2f7deca6d0fd72163573bcb0cca6337e33 (patch) | |
tree | 42b109baf3a0121d702964fd5411d9ac0cd168f4 /COPYING | |
parent | af3cd13501eb04ca61d017ff4406f1cbffafdc04 (diff) | |
download | linux-stable-ad3d5d2f7deca6d0fd72163573bcb0cca6337e33.tar.gz linux-stable-ad3d5d2f7deca6d0fd72163573bcb0cca6337e33.tar.bz2 linux-stable-ad3d5d2f7deca6d0fd72163573bcb0cca6337e33.zip |
lib/genalloc.c: fix the end addr check in addr_in_gen_pool()
Since chunk->end_addr is (chunk->start_addr + size - 1), the end address
to compare should be (start + size - 1).
Signed-off-by: Toshi Kikuchi <toshik@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions