drm/rockchip: fix iommu_map_sg check
authorMark Yao <mark.yao@rock-chips.com>
Fri, 9 Dec 2016 01:03:10 +0000 (09:03 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 9 Dec 2016 02:56:24 +0000 (10:56 +0800)
commitef24372b3153f3c0315e72910e461b2b8927af69
tree70b33aa15eb7caa96b29807060c6fb6c267471cd
parent1aae839462d56cd67667b0ea224452c62d4d1908
drm/rockchip: fix iommu_map_sg check

The return value of iommu_map_sg is size_t, it's unsigned

Change-Id: Ib06f61c020510673bc513e1a8fde6fd3980a7ca3
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_gem.c