Skip to content

Commit c123799

Browse files
annie-likonradwilk
authored andcommitted
xen/granttable: Keep code format clean
Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Annie Li <annie.li@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
1 parent 85ff6ac commit c123799

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎drivers/xen/grant-table.c‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#include <asm/pgtable.h>
5151
#include <asm/sync_bitops.h>
5252

53-
5453
/* External tools reserve first few grant table entries. */
5554
#define NR_RESERVED_ENTRIES 8
5655
#define GNTTAB_LIST_END 0xffffffff
@@ -598,8 +597,8 @@ unsigned int gnttab_max_grant_frames(void)
598597
EXPORT_SYMBOL_GPL(gnttab_max_grant_frames);
599598

600599
int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
601-
struct gnttab_map_grant_ref *kmap_ops,
602-
struct page **pages, unsigned int count)
600+
struct gnttab_map_grant_ref *kmap_ops,
601+
struct page **pages, unsigned int count)
603602
{
604603
int i, ret;
605604
pte_t *pte;
@@ -649,7 +648,7 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
649648
EXPORT_SYMBOL_GPL(gnttab_map_refs);
650649

651650
int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
652-
struct page **pages, unsigned int count)
651+
struct page **pages, unsigned int count)
653652
{
654653
int i, ret;
655654

‎include/xen/grant_table.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ unsigned int gnttab_max_grant_frames(void);
157157
#define gnttab_map_vaddr(map) ((void *)(map.host_virt_addr))
158158

159159
int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
160-
struct gnttab_map_grant_ref *kmap_ops,
160+
struct gnttab_map_grant_ref *kmap_ops,
161161
struct page **pages, unsigned int count);
162162
int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
163163
struct page **pages, unsigned int count);

0 commit comments

Comments
 (0)