Re: [Xen-devel] [PATCH] xen/grant-table: constify gnttab_ops structure

2015-11-30 Thread David Vrabel
On 28/11/15 14:28, Julia Lawall wrote: > The gnttab_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. Applied to for-linus-4.5, thanks. David ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.

[Xen-devel] [PATCH] xen/grant-table: constify gnttab_ops structure

2015-11-28 Thread Julia Lawall
The gnttab_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- 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