Skip to contentSkip to conversation

scripts/spelling.txt: add "algined" pattern and fix typo instances

PATCH New [email protected] 1 participant 1 message Feb 27, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 48/78 scripts/spelling.txt: add "algined" pattern and fix typo instances

From: Masahiro Yamada <[email protected]>
Subject: scripts/spelling.txt: add "algined" pattern and fix typo instances

Fix typos and add the following to the scripts/spelling.txt:

algined||aligned

While we are here, fix the "appplication" in the touched line in drivers/block/loop.c. Also, fix the "may not naturally ..." to "may not be naturally ..." in the touched line in mm/page_alloc.

---

 drivers/block/loop.c |    2 +-
 mm/page_alloc.c      |    2 +-
 scripts/spelling.txt |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
drivers/block/loop.c renamed from drivers/block/loop.c~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances +1 -1
diff -puN drivers/block/loop.c~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances drivers/block/loop.c
@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loo
 	 *
 	 * TODO: the above condition may be loosed in the future, and
 	 * direct I/O may be switched runtime at that time because most
-	 * of requests in sane appplications should be PAGE_SIZE algined
+	 * of requests in sane applications should be PAGE_SIZE aligned
 	 */
 	if (dio) {
 		if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&
mm/page_alloc.c renamed from mm/page_alloc.c~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances +1 -1
diff -puN mm/page_alloc.c~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances mm/page_alloc.c
@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_m
 	 * the zone and SPARSEMEM is in use. If there are holes within the
 	 * zone, each populated memory region may cost us one or two extra
 	 * memmap pages due to alignment because memmap pages for each
-	 * populated regions may not naturally algined on page boundary.
+	 * populated regions may not be naturally aligned on page boundary.
 	 * So the (present_pages >> 4) heuristic is a tradeoff for that.
 	 */
 	if (spanned_pages > present_pages + (present_pages >> 4) &&
scripts/spelling.txt renamed from scripts/spelling.txt~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances +1 -0
diff -puN scripts/spelling.txt~scripts-spellingtxt-add-algined-pattern-and-fix-typo-instances scripts/spelling.txt
@@ -65,6 +65,7 @@ afecting||affecting
 agaist||against
 albumns||albums
 alegorical||allegorical
+algined||aligned
 algorith||algorithm
 algorithmical||algorithmically
 algoritm||algorithm

_