summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/nvmap/nvmap_dmabuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/nvmap/nvmap_dmabuf.c')
-rw-r--r--drivers/video/tegra/nvmap/nvmap_dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap_dmabuf.c b/drivers/video/tegra/nvmap/nvmap_dmabuf.c
index 162e4346454c..6f47c498c33d 100644
--- a/drivers/video/tegra/nvmap/nvmap_dmabuf.c
+++ b/drivers/video/tegra/nvmap/nvmap_dmabuf.c
@@ -714,7 +714,7 @@ int nvmap_ioctl_share_dmabuf(struct file *filp, void __user *arg)
if (copy_from_user(&op, (void __user *)arg, sizeof(op)))
return -EFAULT;
- handle = unmarshal_user_id(op.id);
+ handle = unmarshal_user_handle(op.id);
if (!handle)
return -EINVAL;