ion: check return value from remap_pfn_range
authorColin Cross <ccross@android.com>
Sat, 14 Dec 2013 03:26:23 +0000 (19:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:59:53 +0000 (08:59 -0800)
commite460bc5e43f0750c8bdb6967058ed4f18e92812c
treeafa473979700b74ebc499c0c40e502dd0b9f8127
parentce3d10933a3e2e1d2cb3b9ae91b6b945f189bb90
ion: check return value from remap_pfn_range

Check the return value of remap_pfn_range and return an error if
it fails.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_heap.c