All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/balloon.c
@ 2011-07-26 11:15 ruslanpisarev
  2011-07-26 14:09 ` Konrad Rzeszutek Wilk
  2011-07-26 14:09 ` [PATCH 1/7] Xen: fix whitespaces,tabs " Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 3+ messages in thread
From: ruslanpisarev @ 2011-07-26 11:15 UTC (permalink / raw)
  To: jeremy.fitzhardinge
  Cc: Ruslan Pisarev, xen-devel, virtualization, konrad.wilk

From: Ruslan Pisarev <ruslan@rpisarev.org.ua>

This is a patch to the balloon.c file that fixed up
whitespaces, tabs errors found by the checkpatch.pl tools.

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
---
 drivers/xen/balloon.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index f54290b..61c0ee7 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -84,8 +84,8 @@ static unsigned long frame_list[PAGE_SIZE / sizeof(unsigned long)];
 #define inc_totalhigh_pages() (totalhigh_pages++)
 #define dec_totalhigh_pages() (totalhigh_pages--)
 #else
-#define inc_totalhigh_pages() do {} while(0)
-#define dec_totalhigh_pages() do {} while(0)
+#define inc_totalhigh_pages() do {} while (0)
+#define dec_totalhigh_pages() do {} while (0)
 #endif
 
 /* List of ballooned pages, threaded through the mem_map array. */
@@ -145,8 +145,7 @@ static struct page *balloon_retrieve(bool prefer_highmem)
 	if (PageHighMem(page)) {
 		balloon_stats.balloon_high--;
 		inc_totalhigh_pages();
-	}
-	else
+	} else
 		balloon_stats.balloon_low--;
 
 	totalram_pages++;
@@ -299,7 +298,7 @@ static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp)
 				(unsigned long)__va(pfn << PAGE_SHIFT),
 				__pte_ma(0), 0);
 			BUG_ON(ret);
-                }
+		}
 
 	}
 
@@ -376,10 +375,10 @@ EXPORT_SYMBOL_GPL(balloon_set_new_target);
  * @pages: pages returned
  * @return 0 on success, error otherwise
  */
-int alloc_xenballooned_pages(int nr_pages, struct page** pages)
+int alloc_xenballooned_pages(int nr_pages, struct page **pages)
 {
 	int pgno = 0;
-	struct page* page;
+	struct page *page;
 	mutex_lock(&balloon_mutex);
 	while (pgno < nr_pages) {
 		page = balloon_retrieve(true);
@@ -409,7 +408,7 @@ EXPORT_SYMBOL(alloc_xenballooned_pages);
  * @nr_pages: Number of pages
  * @pages: pages to return
  */
-void free_xenballooned_pages(int nr_pages, struct page** pages)
+void free_xenballooned_pages(int nr_pages, struct page **pages)
 {
 	int i;
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/7] Xen: fix whitespaces,tabs coding style issue in drivers/xen/balloon.c
  2011-07-26 11:15 [PATCH 1/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/balloon.c ruslanpisarev
  2011-07-26 14:09 ` Konrad Rzeszutek Wilk
@ 2011-07-26 14:09 ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-07-26 14:09 UTC (permalink / raw)
  To: ruslanpisarev
  Cc: Ruslan Pisarev, jeremy.fitzhardinge, xen-devel, virtualization

On Tue, Jul 26, 2011 at 02:15:59PM +0300, ruslanpisarev@gmail.com wrote:
> From: Ruslan Pisarev <ruslan@rpisarev.org.ua>
> 
> This is a patch to the balloon.c file that fixed up
> whitespaces, tabs errors found by the checkpatch.pl tools.

Ok, queued all of them up for 3.2.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/balloon.c
  2011-07-26 11:15 [PATCH 1/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/balloon.c ruslanpisarev
@ 2011-07-26 14:09 ` Konrad Rzeszutek Wilk
  2011-07-26 14:09 ` [PATCH 1/7] Xen: fix whitespaces,tabs " Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-07-26 14:09 UTC (permalink / raw)
  To: ruslanpisarev
  Cc: Ruslan Pisarev, jeremy.fitzhardinge, xen-devel, virtualization

On Tue, Jul 26, 2011 at 02:15:59PM +0300, ruslanpisarev@gmail.com wrote:
> From: Ruslan Pisarev <ruslan@rpisarev.org.ua>
> 
> This is a patch to the balloon.c file that fixed up
> whitespaces, tabs errors found by the checkpatch.pl tools.

Ok, queued all of them up for 3.2.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-26 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 11:15 [PATCH 1/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/balloon.c ruslanpisarev
2011-07-26 14:09 ` Konrad Rzeszutek Wilk
2011-07-26 14:09 ` [PATCH 1/7] Xen: fix whitespaces,tabs " Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.