Re: [PATCH] ata: declare ata_port_info structures as const

2017-06-12 Thread Tejun Heo
On Fri, Jun 09, 2017 at 05:15:08PM +0530, Bhumika Goyal wrote: > ata_port_info structures are either copied to other objects or their > references are stored in objects of type const. So, ata_port_info > structures having similar usage pattern can be made const. > > Signed-off-by: Bhumika Goyal

Re: [PATCH] ata: declare ata_port_info structures as const

2017-06-12 Thread Tejun Heo
On Fri, Jun 09, 2017 at 05:15:08PM +0530, Bhumika Goyal wrote: > ata_port_info structures are either copied to other objects or their > references are stored in objects of type const. So, ata_port_info > structures having similar usage pattern can be made const. > > Signed-off-by: Bhumika Goyal

[PATCH] ata: declare ata_port_info structures as const

2017-06-09 Thread Bhumika Goyal
ata_port_info structures are either copied to other objects or their references are stored in objects of type const. So, ata_port_info structures having similar usage pattern can be made const. Signed-off-by: Bhumika Goyal --- drivers/ata/pata_rdc.c | 2 +-

[PATCH] ata: declare ata_port_info structures as const

2017-06-09 Thread Bhumika Goyal
ata_port_info structures are either copied to other objects or their references are stored in objects of type const. So, ata_port_info structures having similar usage pattern can be made const. Signed-off-by: Bhumika Goyal --- drivers/ata/pata_rdc.c | 2 +- drivers/ata/pata_sch.c | 2