[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1452346911-8983-1-git-send-email-jslaby@suse.cz>
Date: Sat, 9 Jan 2016 14:41:51 +0100
From: Jiri Slaby <jslaby@...e.cz>
To: trivial@...nel.org
Cc: linux-kernel@...r.kernel.org, Bogdan Sikora <bsikora@...hat.com>,
linux-mm@...ck.org, Kent Overstreet <kmo@...erainc.com>,
Jan Kara <jack@...e.cz>, Jiri Slaby <jslaby@...e.cz>
Subject: [PATCH v2] lib+mm: fix few spelling mistakes
From: Bogdan Sikora <bsikora@...hat.com>
All are in comments.
[v2] also s/moduler/modular/
Signed-off-by: Bogdan Sikora <bsikora@...hat.com>
Acked-by: Rafael Aquini <aquini@...hat.com>
Cc: <linux-mm@...ck.org>
Cc: Kent Overstreet <kmo@...erainc.com>
Cc: Jan Kara <jack@...e.cz>
Signed-off-by: Jiri Slaby <jslaby@...e.cz>
---
lib/flex_proportions.c | 2 +-
lib/percpu-refcount.c | 2 +-
mm/balloon_compaction.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/flex_proportions.c b/lib/flex_proportions.c
index 8f25652f40d4..a71cf1bdd4c9 100644
--- a/lib/flex_proportions.c
+++ b/lib/flex_proportions.c
@@ -17,7 +17,7 @@
*
* \Sum_{j} p_{j} = 1,
*
- * This formula can be straightforwardly computed by maintaing denominator
+ * This formula can be straightforwardly computed by maintaining denominator
* (let's call it 'd') and for each event type its numerator (let's call it
* 'n_j'). When an event of type 'j' happens, we simply need to do:
* n_j++; d++;
diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c
index 6111bcb28376..27fe74948882 100644
--- a/lib/percpu-refcount.c
+++ b/lib/percpu-refcount.c
@@ -12,7 +12,7 @@
* particular cpu can (and will) wrap - this is fine, when we go to shutdown the
* percpu counters will all sum to the correct value
*
- * (More precisely: because moduler arithmatic is commutative the sum of all the
+ * (More precisely: because modular arithmetic is commutative the sum of all the
* percpu_count vars will be equal to what it would have been if all the gets
* and puts were done to a single integer, even if some of the percpu integers
* overflow or underflow).
diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
index 66d69c52a6d3..63e1dc11a580 100644
--- a/mm/balloon_compaction.c
+++ b/mm/balloon_compaction.c
@@ -13,10 +13,10 @@
/*
* balloon_page_enqueue - allocates a new page and inserts it into the balloon
* page list.
- * @b_dev_info: balloon device decriptor where we will insert a new page to
+ * @b_dev_info: balloon device descriptor where we will insert a new page to
*
* Driver must call it to properly allocate a new enlisted balloon page
- * before definetively removing it from the guest system.
+ * before definitively removing it from the guest system.
* This function returns the page address for the recently enqueued page or
* NULL in the case we fail to allocate a new page this turn.
*/
--
2.7.0
Powered by blists - more mailing lists