[PATCH 1/6] scsi: mpt3sas: constify pci_error_handlers structures

2017-08-12 Thread Julia Lawall
These pci_error_handlers structures are only stored in the err_handler field of a pci_driver structure, and this field is declared as const. Thus the pci_error_handlers structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall ---

[PATCH 1/6] scsi: mpt3sas: constify pci_error_handlers structures

2017-08-12 Thread Julia Lawall
These pci_error_handlers structures are only stored in the err_handler field of a pci_driver structure, and this field is declared as const. Thus the pci_error_handlers structures can be const too. Done with the help of Coccinelle. Signed-off-by: Julia Lawall ---