Re: [Xen-devel] [PATCH v2 3/3] gnttab: clean up gnttab_set_version()

2015-06-22 Thread Andrew Cooper
On 22/06/15 12:46, Jan Beulich wrote: > - drop pointless nr_grant_entries() check from loop over reserved > entries (adding suitable BUILD_BUG_ON()s to validate that) > - adjust types > - rename d to currd > - formatting > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper , with one sugge

[Xen-devel] [PATCH v2 3/3] gnttab: clean up gnttab_set_version()

2015-06-22 Thread Jan Beulich
- drop pointless nr_grant_entries() check from loop over reserved entries (adding suitable BUILD_BUG_ON()s to validate that) - adjust types - rename d to currd - formatting Signed-off-by: Jan Beulich --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -465,10 +465,16 @@ static uns