Tag: 7d10f4e0797597a31f2724b46e619ee10d8eb501

vfio-pci: constify pci_error_handlers structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> This pci_error_handlers structure is never modified, like all the other pci_error_handlers structures, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Alex Williamson — drivers/vfio/pci/vfio_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 32b88bd..2760a7b 100644 — a/drivers/vfio/pci/vfio_pci.c …

Continue reading