[PATCH 1/3] clk: ux500: prcmu: constify clk_ops.

2017-08-28 Thread Arvind Yadav
_reg_prcmu non-const clk_ops argument as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/clk/ux500/clk-prcmu.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/clk/ux500/clk-prcmu.c b/drivers/clk/ux500/clk-prcmu.c index

[PATCH 1/3] clk: ux500: prcmu: constify clk_ops.

2017-08-28 Thread Arvind Yadav
_reg_prcmu non-const clk_ops argument as const. Signed-off-by: Arvind Yadav --- drivers/clk/ux500/clk-prcmu.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/clk/ux500/clk-prcmu.c b/drivers/clk/ux500/clk-prcmu.c index 7f34382..6e3e16b 100644 --- a/drivers

[PATCH 2/3] clk: ux500: sysctrl: constify clk_ops.

2017-08-28 Thread Arvind Yadav
s. So make clk_reg_sysctrl non-const clk_ops argument as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/clk/ux500/clk-sysctrl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/ux500/clk-sysctrl.c b/drivers/clk/ux500/clk-sysctrl.c index

[PATCH 2/3] clk: ux500: sysctrl: constify clk_ops.

2017-08-28 Thread Arvind Yadav
s. So make clk_reg_sysctrl non-const clk_ops argument as const. Signed-off-by: Arvind Yadav --- drivers/clk/ux500/clk-sysctrl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/ux500/clk-sysctrl.c b/drivers/clk/ux500/clk-sysctrl.c index 266ddea..8a4e93c 100644 --- a/d

[PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-28 Thread Arvind Yadav
g_prcc non-const clk_ops argument as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/clk/ux500/clk-prcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/ux500/clk-prcc.c b/drivers/clk/ux500/clk-prcc.c index 0e95076

[PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-28 Thread Arvind Yadav
g_prcc non-const clk_ops argument as const. Signed-off-by: Arvind Yadav --- drivers/clk/ux500/clk-prcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/ux500/clk-prcc.c b/drivers/clk/ux500/clk-prcc.c index 0e95076..f505927 100644 --- a/drivers/clk/ux500/

[PATCH 0/3] constify ux500 clk_ops.

2017-08-28 Thread Arvind Yadav
g_prcc non-const clk_ops argument as const. Arvind Yadav (3): [PATCH 1/3] clk: ux500: prcmu: constify clk_ops. [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. [PATCH 3/3] clk: ux500: prcc: constify clk_ops. drivers/clk/ux500/clk-prcc.c| 6 +++--- drivers/clk/ux500/clk-prcm

[PATCH 0/3] constify ux500 clk_ops.

2017-08-28 Thread Arvind Yadav
g_prcc non-const clk_ops argument as const. Arvind Yadav (3): [PATCH 1/3] clk: ux500: prcmu: constify clk_ops. [PATCH 2/3] clk: ux500: sysctrl: constify clk_ops. [PATCH 3/3] clk: ux500: prcc: constify clk_ops. drivers/clk/ux500/clk-prcc.c| 6 +++--- drivers/clk/ux500/clk-prcm

[PATCH] powerpc/512x: clk: constify clk_div_table

2017-08-28 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. mpc512x_clk_divtable function working with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- arch/powerpc/platforms/512x/clock-commonclk.c | 4 ++-- 1 file chan

[PATCH] powerpc/512x: clk: constify clk_div_table

2017-08-28 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. mpc512x_clk_divtable function working with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/powerpc/platforms/512x/clock-commonclk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[PATCH] net: stmmac: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. meson8b_dwmac structure is working with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 2 +- 1 file chan

[PATCH] net: stmmac: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. meson8b_dwmac structure is working with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 2/2] clk: zte: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/clk/zte/clk-zx296718.c | 6 +++--- 1 file c

[PATCH 2/2] clk: zte: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/clk/zte/clk-zx296718.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 1/2] clk: imx: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/clk/imx/clk-imx6sl.c | 6 +++--- drivers/c

[PATCH 1/2] clk: imx: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/clk/imx/clk-imx6sl.c | 6 +++--- drivers/clk/imx/clk-imx6sx.c | 6

[PATCH 0/2] constify clk clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Arvind Yadav (2): [PATCH 1/2] clk: imx: constify clk_div_table [PATCH 2/2] clk: zte: constify clk_div_table

[PATCH 0/2] constify clk clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Arvind Yadav (2): [PATCH 1/2] clk: imx: constify clk_div_table [PATCH 2/2] clk: zte: constify clk_div_table

[PATCH] IB/rxe: 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 <arvind.yadav...@gmail.com> --- drivers/infiniband/sw/rxe/rxe_mmap.c | 2

[PATCH] IB/rxe: 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/sw/rxe/rxe_mmap.c | 2 +- 1 file changed, 1 insertion

[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 <arvind.yadav...@gmail.com> --- drivers/infiniband/hw/hfi1/file_ops.c | 2

[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

[PATCH] staging: lustre: constify cl_lock_operations

2017-08-27 Thread Arvind Yadav
cl_lock_operations are not supposed to change at runtime. cl_lock_slice_add is working with const cl_lock_operations. So mark the non-const cl_lock_operations structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/staging/lustre/lustre/obdecho/echo_client

[PATCH] staging: lustre: constify cl_lock_operations

2017-08-27 Thread Arvind Yadav
cl_lock_operations are not supposed to change at runtime. cl_lock_slice_add is working with const cl_lock_operations. So mark the non-const cl_lock_operations structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/lustre/lustre/obdecho/echo_client.c | 2 +- 1 file changed, 1

[PATCH] staging: atomisp: constify v4l2_subdev_sensor_ops

2017-08-26 Thread Arvind Yadav
v4l2_subdev_sensor_ops are not supposed to change at runtime. v4l2_subdev_sensor_ops are working with const 'sensor' field of sturct v4l2_subdev_ops. So mark the non-const v4l2_subdev_sensor_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/staging

[PATCH] staging: atomisp: constify v4l2_subdev_sensor_ops

2017-08-26 Thread Arvind Yadav
v4l2_subdev_sensor_ops are not supposed to change at runtime. v4l2_subdev_sensor_ops are working with const 'sensor' field of sturct v4l2_subdev_ops. So mark the non-const v4l2_subdev_sensor_ops structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/media/atomisp/i2c/mt9m114.c | 2

[PATCH] mm/zswap: constify struct kernel_param_ops uses

2017-08-26 Thread Arvind Yadav
kernel_param_ops are not supposed to change at runtime. All functions working with kernel_param_ops provided by work with const kernel_param_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- mm/zswap.c | 6 +++--- 1 file chan

[PATCH] mm/zswap: constify struct kernel_param_ops uses

2017-08-26 Thread Arvind Yadav
kernel_param_ops are not supposed to change at runtime. All functions working with kernel_param_ops provided by work with const kernel_param_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- mm/zswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH] sparc: leon: grpci2: constify of_device_id

2017-08-26 Thread Arvind Yadav
of_device_id are not supposed to change at runtime. All functions working with of_device_id provided by work with const of_device_ids. So mark the const and __initconst. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- arch/sparc/kernel/leon_pci_grpci2.c | 2 +- 1 file chan

[PATCH] sparc: leon: grpci2: constify of_device_id

2017-08-26 Thread Arvind Yadav
of_device_id are not supposed to change at runtime. All functions working with of_device_id provided by work with const of_device_ids. So mark the const and __initconst. Signed-off-by: Arvind Yadav --- arch/sparc/kernel/leon_pci_grpci2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] sparc: leon: grpci1: constify of_device_id

2017-08-26 Thread Arvind Yadav
of_device_id are not supposed to change at runtime. All functions working with of_device_id provided by work with const of_device_ids. So mark the const and __initconst. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- arch/sparc/kernel/leon_pci_grpci1.c | 2 +- 1 file chan

[PATCH] sparc: leon: grpci1: constify of_device_id

2017-08-26 Thread Arvind Yadav
of_device_id are not supposed to change at runtime. All functions working with of_device_id provided by work with const of_device_ids. So mark the const and __initconst. Signed-off-by: Arvind Yadav --- arch/sparc/kernel/leon_pci_grpci1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] smack: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- security/smack/smack_netfilter.c | 2 +-

[PATCH] smack: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav --- security/smack/smack_netfilter.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] selinux: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- security/selinux/hooks.c | 2 +- 1 file c

[PATCH] selinux: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav --- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] netfilter: ipv6: nf_defrag: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- net/ipv6/netfilter/nf_defrag_ipv6_hooks

[PATCH] netfilter: ipv6: nf_defrag: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav --- net/ipv6/netfilter/nf_defrag_ipv6_hooks.c | 2 +- 1 file changed, 1

[PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- net/ipv4/netfilter/nf_defrag_ipv4.c | 2

[PATCH] netfilter: ipv4: nf_defrag: constify nf_hook_ops

2017-08-26 Thread Arvind Yadav
nf_hook_ops are not supposed to change at runtime. nf_register_net_hooks and nf_unregister_net_hooks are working with const nf_hook_ops. So mark the non-const nf_hook_ops structs as const. Signed-off-by: Arvind Yadav --- net/ipv4/netfilter/nf_defrag_ipv4.c | 2 +- 1 file changed, 1 insertion

[PATCH 0/5] constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Arvind Yadav (5): [PATCH 1/5] rapidio: idt_gen2: constify rio_device_id [PATCH 2/5] rapidio: idt_gen3: constify rio_device_id [PATCH 3/5

[PATCH 0/5] constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Arvind Yadav (5): [PATCH 1/5] rapidio: idt_gen2: constify rio_device_id [PATCH 2/5] rapidio: idt_gen3: constify rio_device_id [PATCH 3/5

[PATCH 2/5] rapidio: idt_gen3: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/rapidio/switches/idt_gen3.c | 2 +- 1 file changed, 1 insertion

[PATCH 2/5] rapidio: idt_gen3: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/rapidio/switches/idt_gen3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 5/5] rapidio: tsi57x: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/rapidio/switches/tsi57x.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 5/5] rapidio: tsi57x: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/rapidio/switches/tsi57x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 3/5] rapidio: idtcps: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/rapidio/switches/idtcps.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 3/5] rapidio: idtcps: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/rapidio/switches/idtcps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 4/5] rapidio: tsi568: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/rapidio/switches/tsi568.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 4/5] rapidio: tsi568: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/rapidio/switches/tsi568.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 1/5] rapidio: idt_gen2: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/rapidio/switches/idt_gen2.c | 2 +- 1 file changed, 1 insertion

[PATCH 1/5] rapidio: idt_gen2: constify rio_device_id

2017-08-26 Thread Arvind Yadav
rio_device_id are not supposed to change at runtime. rio driver is working with const 'id_table'. So mark the non-const rio_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/rapidio/switches/idt_gen2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH] nfc: pn544: mei: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. mei driver is working with const 'id_table'. So mark the non-const mei_cl_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/nfc/pn544/mei.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH] nfc: pn544: mei: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. mei driver is working with const 'id_table'. So mark the non-const mei_cl_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/nfc/pn544/mei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc

[PATCH] nfc: microread: mei: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. mei driver is working with const 'id_table'. So mark the non-const mei_cl_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/nfc/microread/mei.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH] nfc: microread: mei: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. mei driver is working with const 'id_table'. So mark the non-const mei_cl_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/nfc/microread/mei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH] watchdog: mei_wdt: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. All functions working with mei_cl_device_id provided by work with const mei_cl_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/watchdog/mei_wdt.c | 2 +- 1 file c

[PATCH] watchdog: mei_wdt: constify mei_cl_device_id

2017-08-26 Thread Arvind Yadav
mei_cl_device_id are not supposed to change at runtime. All functions working with mei_cl_device_id provided by work with const mei_cl_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/watchdog/mei_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] crypto: padlock-sha: constify x86_cpu_id

2017-08-25 Thread Arvind Yadav
x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE and x86_match_cpu are working with const x86_cpu_id. So mark the non-const x86_cpu_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/crypto/padlock-sha.c | 2 +- 1 file chan

[PATCH] crypto: padlock-sha: constify x86_cpu_id

2017-08-25 Thread Arvind Yadav
x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE and x86_match_cpu are working with const x86_cpu_id. So mark the non-const x86_cpu_id structs as const. Signed-off-by: Arvind Yadav --- drivers/crypto/padlock-sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] crypto: padlock-aes: constify x86_cpu_id

2017-08-25 Thread Arvind Yadav
x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE and x86_match_cpu are working with const x86_cpu_id. So mark the non-const x86_cpu_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/crypto/padlock-aes.c | 2 +- 1 file chan

[PATCH] crypto: padlock-aes: constify x86_cpu_id

2017-08-25 Thread Arvind Yadav
x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE and x86_match_cpu are working with const x86_cpu_id. So mark the non-const x86_cpu_id structs as const. Signed-off-by: Arvind Yadav --- drivers/crypto/padlock-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] tty: mips_ejtag_fdc: constify mips_cdmm_device_id

2017-08-25 Thread Arvind Yadav
mips_cdmm_device_id are not supposed to change at runtime. mips_cdmm_driver is working with const 'id_table'. So mark the non-const mips_cdmm_device_id structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/tty/mips_ejtag_fdc.c | 2 +- 1 file changed, 1 ins

[PATCH] tty: mips_ejtag_fdc: constify mips_cdmm_device_id

2017-08-25 Thread Arvind Yadav
mips_cdmm_device_id are not supposed to change at runtime. mips_cdmm_driver is working with const 'id_table'. So mark the non-const mips_cdmm_device_id structs as const. Signed-off-by: Arvind Yadav --- drivers/tty/mips_ejtag_fdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 0/9] constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Arvind Yadav (9): [PATCH 1/9] coresight: constify amba_id [PATCH 2/9] coresight: etb10: constify amba_id [PATCH 3/9] coresight: etm3x: constify amba_id [PATCH 4

[PATCH 0/9] constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Arvind Yadav (9): [PATCH 1/9] coresight: constify amba_id [PATCH 2/9] coresight: etb10: constify amba_id [PATCH 3/9] coresight: etm3x: constify amba_id [PATCH 4

[PATCH 3/9] coresight: etm3x: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-etm3x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3/9] coresight: etm3x: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-etm3x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 2/9] coresight: etb10: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-etb10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/9] coresight: etb10: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-etb10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 5/9] coresight: funnel: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-funnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 5/9] coresight: funnel: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-funnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 7/9] coresight: stm: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 7/9] coresight: stm: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 8/9] coresight: tmc: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-tmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 8/9] coresight: tmc: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-tmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 6/9] coresight: replicator: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-replicator-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 6/9] coresight: replicator: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-replicator-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 9/9] coresight: tpiu: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-tpiu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 9/9] coresight: tpiu: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-tpiu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 4/9] coresight: etm4x: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-etm4x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 4/9] coresight: etm4x: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-etm4x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing

[PATCH 1/9] coresight: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 1/9] coresight: constify amba_id

2017-08-24 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH] USB: core: constify vm_operations_struct

2017-08-24 Thread Arvind Yadav
vm_operations_struct are not supposed to change at runtime. All functions working with const vm_operations_struct. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/usb/core/devio.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH] USB: core: constify vm_operations_struct

2017-08-24 Thread Arvind Yadav
vm_operations_struct are not supposed to change at runtime. All functions working with const vm_operations_struct. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/usb/core/devio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb

[PATCH 0/3] constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] ata: ftide010: constify ata_port_info [PATCH 2/3] ata: pdc2027x: constify

[PATCH 0/3] constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] ata: ftide010: constify ata_port_info [PATCH 2/3] ata: pdc2027x: constify

[PATCH 1/3] ata: ftide010: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/ata/pata_ftide010.c | 2 +- 1 file chan

[PATCH 2/3] ata: pdc2027x: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/ata/pata_pdc2027x.c | 2 +- 1 file chan

[PATCH 3/3] ata: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/ata/pdc_adma.c | 2 +- 1 file changed, 1 ins

[PATCH 2/3] ata: pdc2027x: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ata/pata_pdc2027x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 3/3] ata: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ata/pdc_adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 1/3] ata: ftide010: constify ata_port_info

2017-08-24 Thread Arvind Yadav
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by work with const ata_port_info. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ata/pata_ftide010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] ALSA: nm256: constify snd_ac97_res_table

2017-08-24 Thread Arvind Yadav
snd_ac97_res_table are not supposed to change at runtime. All functions working with snd_ac97_res_table provided by work with const snd_ac97_res_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- sound/pci/nm256/nm256.c | 2 +-

[PATCH] ALSA: nm256: constify snd_ac97_res_table

2017-08-24 Thread Arvind Yadav
snd_ac97_res_table are not supposed to change at runtime. All functions working with snd_ac97_res_table provided by work with const snd_ac97_res_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/pci/nm256/nm256.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ALSA: aaci: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- sound/arm/aaci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/arm/aa

[PATCH] ALSA: aaci: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/arm/aaci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 4140b1b

[PATCH] video: ARM CLCD: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com> --- drivers/video/fbdev/amba-clcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH] video: ARM CLCD: constify amba_id

2017-08-23 Thread Arvind Yadav
amba_id are not supposed to change at runtime. All functions working with const amba_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/video/fbdev/amba-clcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/amba-clcd.c b

<    4   5   6   7   8   9   10   11   12   13   >