Tag: 86fc2136736d2767bf797e6d2b1f80b49f52953c

xen/grant-table: constify gnttab_ops structure

Author: Julia Lawall <Julia.Lawall@lip6.fr> The gnttab_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: David Vrabel — drivers/xen/grant-table.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index c49f79e..effbaf9 100644 — a/drivers/xen/grant-table.c +++ b/drivers/xen/grant-table.c @@ -128,7 +128,7 @@ …

Continue reading