]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04433f17bc777a8a9e88df256c9a14d14a6a3efc
tree9a0dc1b4c081e9f311a7fd9dd2ab5d611cca1712
parent50002f2f197a6d7f6bca5023be67bac33a05823e
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