Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4fbec96 authored by Kamal Heib's avatar Kamal Heib Committed by Doug Ledford
Browse files

IB/rxe: Constify static rxe_vm_ops



Constify static rxe_vm_ops that is never modified.

Signed-off-by: default avatarKamal Heib <kamalh@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 61013828
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static void rxe_vma_close(struct vm_area_struct *vma)
	kref_put(&ip->ref, rxe_mmap_release);
}

static struct vm_operations_struct rxe_vm_ops = {
static const struct vm_operations_struct rxe_vm_ops = {
	.open = rxe_vma_open,
	.close = rxe_vma_close,
};