Re: [PATCH 3/3] xen/granttable: Keep code format clean

From: ANNIE LI
Date: Fri Nov 18 2011 - 05:16:23 EST


This patch does not change from the initial one: [PATCH 3/3] xen/granttable: Keep code format clean.

Thanks
Annie
From f8b6f431115d7afe6c9b24e68d1be7f7da933f9f Mon Sep 17 00:00:00 2001
From: Annie Li <annie.li@xxxxxxxxxx>
Date: Fri, 18 Nov 2011 17:09:09 +0800
Subject: [PATCH 4/4] xen/granttable: Keep code format clean

Signed-off-by: Annie Li <annie.li@xxxxxxxxxx>
---
drivers/xen/grant-table.c | 7 +++----
include/xen/grant_table.h | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index ca075e9..2aab2df 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -50,7 +50,6 @@
#include <asm/pgtable.h>
#include <asm/sync_bitops.h>

-
/* External tools reserve first few grant table entries. */
#define NR_RESERVED_ENTRIES 8
#define GNTTAB_LIST_END 0xffffffff
@@ -600,8 +599,8 @@ unsigned int gnttab_max_grant_frames(void)
EXPORT_SYMBOL_GPL(gnttab_max_grant_frames);

int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
- struct gnttab_map_grant_ref *kmap_ops,
- struct page **pages, unsigned int count)
+ struct gnttab_map_grant_ref *kmap_ops,
+ struct page **pages, unsigned int count)
{
int i, ret;
pte_t *pte;
@@ -651,7 +650,7 @@ int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
EXPORT_SYMBOL_GPL(gnttab_map_refs);

int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
- struct page **pages, unsigned int count)
+ struct page **pages, unsigned int count)
{
int i, ret;

diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h
index 5494c40..fea4954 100644
--- a/include/xen/grant_table.h
+++ b/include/xen/grant_table.h
@@ -157,7 +157,7 @@ unsigned int gnttab_max_grant_frames(void);
#define gnttab_map_vaddr(map) ((void *)(map.host_virt_addr))

int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
- struct gnttab_map_grant_ref *kmap_ops,
+ struct gnttab_map_grant_ref *kmap_ops,
struct page **pages, unsigned int count);
int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
struct page **pages, unsigned int count);
--
1.7.6.4