drm/msm: fix msm_gem_prime_get_sg_table()
authorRob Clark <robdclark@gmail.com>
Thu, 23 Jul 2015 17:44:56 +0000 (13:44 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 29 Jul 2015 20:38:24 +0000 (16:38 -0400)
commitac45146733b03a1c8e3a6a33720bdc42804cc09b
tree9a0dc1b4c081e9f311a7fd9dd2ab5d611cca1712
parent520e8bfc35066d4344adf13081e59bfde30aa36d
drm/msm: fix msm_gem_prime_get_sg_table()

We need to return a new sgt, since the caller takes ownership of it.

Reported-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem_prime.c