From: Rebecca Schultz Zavin Date: Fri, 13 Dec 2013 22:24:19 +0000 (-0800) Subject: gpu: ion: Fix bug in ion_system_heap map_user X-Git-Tag: v3.14-rc1~150^2~432 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b308a7c5cfef6e0d15b8872982645313f415b229;p=pandora-kernel.git gpu: ion: Fix bug in ion_system_heap map_user When the requested mmap length was not an integer number of chunks or the buffer, or if an offset was provided, a bug would cause extra or incorrect pages of the buffer to be mapped. Signed-off-by: Rebecca Schultz Zavin [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed