scripts/spelling.txt: add "algined" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:29:01 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
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.

Link: http://lkml.kernel.org/r/1481573103-11329-9-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/loop.c
mm/page_alloc.c
scripts/spelling.txt

index 304377182c1ad462b9832b7a5e9b1fb930ca62fa..4b52a16903298c5fe22cd6529578dfdf47fd27b9 100644 (file)
@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio)
         *
         * 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 &&
index 9f9623d690d69582be8e82885649dd3b60937aa6..a7a6aac95a6d158690e1ca0981b1b652820248d4 100644 (file)
@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages,
         * 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) &&
index 12777ab323062076f885e6d090e285bd7b1e939a..096e8b8b65027afb85e35e8e8c5aa14eba5fe2df 100644 (file)
@@ -65,6 +65,7 @@ afecting||affecting
 agaist||against
 albumns||albums
 alegorical||allegorical
+algined||aligned
 algorith||algorithm
 algorithmical||algorithmically
 algoritm||algorithm