]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: nvmap: set handle dmabuf to NULL early
authorKrishna Reddy <vdumpa@nvidia.com>
Tue, 17 Jun 2014 19:30:16 +0000 (12:30 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 8 Aug 2014 21:41:49 +0000 (14:41 -0700)
commit8bfcc61d2587b9f13192653ebad24e01d2c95d2c
tree151bfe3d175db954e24343fd7d10ccfa686dd69f
parent97b7a88bcdd938ff4e3bf156f966b722b2b53eba
video: tegra: nvmap: set handle dmabuf to NULL early

This can allow catching handle dmabuf usage during its free.

Bug 1529015

Change-Id: Ie20c7b860ca5194a190ff7005302bf50602d16ed
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/424329
(cherry picked from commit 10e648c2e2f9760c97ce55a1091d9e7097d2504d)
Reviewed-on: http://git-master/r/448530
Tested-by: Winnie Hsu <whsu@nvidia.com>
drivers/video/tegra/nvmap/nvmap_dmabuf.c