video: tegra: nvmap: handle the vma->vm_mm NULL case
authorKrishna Reddy <vdumpa@nvidia.com>
Mon, 18 Sep 2017 18:00:27 +0000 (11:00 -0700)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 13 Oct 2017 03:30:15 +0000 (20:30 -0700)
commit2e53543bc5e4b6d2f5921a59f7ca2b663f97983c
tree494836dbc32e8ea781bd56d32911813ab7a0131b
parent8a9137b8670e6b112680d833c5de0683b72fada5
video: tegra: nvmap: handle the vma->vm_mm NULL case

v4l2 is registering vma with vm_mm = NULL.

Bug 1874184

Change-Id: I24e61a531d9a506c7c146335240754931b3c238d
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1564203
Tested-by: Frank Shi <fshi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/nvmap/nvmap_mm.c