Re: [PATCH 2/6] GenWQE: constify pci_error_handlers structures

2017-10-09 Thread haver
On 2017-08-12 07:44, Julia Lawall wrote: 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:

Re: [PATCH 2/6] GenWQE: constify pci_error_handlers structures

2017-10-09 Thread haver
On 2017-08-12 07:44, Julia Lawall wrote: 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:

[PATCH 2/6] GenWQE: 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 2/6] GenWQE: 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 ---