Re: [PATCH] IB/hfi1: constify vm_operations_struct

2017-08-28 Thread Doug Ledford
On Mon, 2017-08-28 at 09:59 +0530, Arvind Yadav wrote: > 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 Thanks, applied.

[PATCH] IB/hfi1: constify vm_operations_struct

2017-08-27 Thread Arvind Yadav
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 --- drivers/infiniband/hw/hfi1/file_ops.c | 2 +- 1 file changed, 1 insertion(+),