Tag: c300366b6b978fcb84f8eeb6205e5980cc0c40c3

sfc: 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: David S. Miller — drivers/net/ethernet/sfc/efx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index d288f1c..a3c42a3 100644 — …

Continue reading