History

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.

Masahiro Yamada committed 9 years ago

Commit 89d790a1 parent 550116d3 files · +3 −2Browse files

Unified · Split

3 files
  1. drivers/block/loop.c +1 −1
  2. mm/page_alloc.c +1 −1
  3. scripts/spelling.txt +1 −0
drivers/block/loop.c+1−1
@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio) · 185 unmodified lines
186186 *
187187 * TODO: the above condition may be loosed in the future, and
188188 * direct I/O may be switched runtime at that time because most
189− * of requests in sane appplications should be PAGE_SIZE algined
189+ * of requests in sane applications should be PAGE_SIZE aligned
190190 */
191191 if (dio) {
192192 if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&
mm/page_alloc.c+1−1
@@ -5925,7 +5925,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages, · 5924 unmodified lines
59255925 * the zone and SPARSEMEM is in use. If there are holes within the
59265926 * zone, each populated memory region may cost us one or two extra
59275927 * memmap pages due to alignment because memmap pages for each
5928− * populated regions may not naturally algined on page boundary.
5928+ * populated regions may not be naturally aligned on page boundary.
59295929 * So the (present_pages >> 4) heuristic is a tradeoff for that.
59305930 */
59315931 if (spanned_pages > present_pages + (present_pages >> 4) &&
scripts/spelling.txt+1−0
@@ -65,6 +65,7 @@ afecting||affecting · 64 unmodified lines
6565 agaist||against
6666 albumns||albums
6767 alegorical||allegorical
68+algined||aligned
6869 algorith||algorithm
6970 algorithmical||algorithmically
7071 algoritm||algorithm