]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: constify vm_operations_struct
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 04:29:28 +0000 (09:59 +0530)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:25 +0000 (19:12 -0400)
commit733da3bcb3a1293fab1e7703982540dde847d716
tree7aa461b4c8937eda51c71aa2022891cf78c94e9a
parent2d72d6c4ec1e3761e8cfc69d58d498b2dbe46341
IB/hfi1: constify vm_operations_struct

vm_operations_struct are not supposed to change at runtime.
vm_area_struct structure working with const vm_operations_struct.
So mark the non-const vm_operations_struct structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/file_ops.c