projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cde96
)
RDMA/mlx5: Remove MAYEXEC flag
author
Leon Romanovsky
<leonro@mellanox.com>
Mon, 6 May 2019 07:45:56 +0000
(10:45 +0300)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Mon, 6 May 2019 15:56:55 +0000
(12:56 -0300)
MAYEXEC flag was mistakenly added in the commit cited in the fixes line.
Fixes: 4eb6ab13b991 ("RDMA: Remove rdma_user_mmap_page")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index f9def2dfdba301397a9a99c0d3c466798cb98e9b..687f99172037bee7d2ecf0b061b79a58149cd1dc 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/main.c
+++ b/
drivers/infiniband/hw/mlx5/main.c
@@
-2073,7
+2073,7
@@
static int mlx5_ib_mmap_clock_info_page(struct mlx5_ib_dev *dev,
if (vma->vm_flags & (VM_WRITE | VM_EXEC))
return -EPERM;
- vma->vm_flags &= ~
(VM_MAYWRITE | VM_MAYEXEC)
;
+ vma->vm_flags &= ~
VM_MAYWRITE
;
if (!dev->mdev->clock_info)
return -EOPNOTSUPP;