Messages in this thread | | | From | Arvind Yadav <> | Subject | [PATCH 0/3] constify ata_port_info | Date | Thu, 24 Aug 2017 15:19:58 +0530 |
| |
ata_port_info are not supposed to change at runtime. All functions working with ata_port_info provided by <linux/libata.h> 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 ata_port_info [PATCH 3/3] ata: constify ata_port_info
drivers/ata/pata_ftide010.c | 2 +- drivers/ata/pata_pdc2027x.c | 2 +- drivers/ata/pdc_adma.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
-- 1.9.1
| |