From patchwork Mon Dec 12 20:04:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 87762 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1840048qgi; Mon, 12 Dec 2016 12:15:37 -0800 (PST) X-Received: by 10.98.202.211 with SMTP id y80mr97402905pfk.154.1481573737575; Mon, 12 Dec 2016 12:15:37 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si44768947pgb.337.2016.12.12.12.15.37; Mon, 12 Dec 2016 12:15:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932600AbcLLUPe (ORCPT + 25 others); Mon, 12 Dec 2016 15:15:34 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:36878 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752165AbcLLUJf (ORCPT ); Mon, 12 Dec 2016 15:09:35 -0500 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-11.nifty.com with ESMTP id uBCK7cf2013817; Tue, 13 Dec 2016 05:07:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com uBCK7cf2013817 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1481573272; bh=hyBm5WHReo3WFmOMeeDDT2XrTi2PV6aJ3qxA334MA00=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ye4dGhkSgmK9vrr9zw7BC6gqPxSF/R9QdGTFh1qzz1bFUIpCS2KMCWEtPBFadtH68 VxjFsDXbMbYZG8IzeCbpDmhvbMCVjtI+d/60BA9COLz/fP4+0Ze0l6/scg5GRRI6w3 wBJkg+9OJ47P1yyXmO1YOXR0M3ue2NDaORuNf1+HdzH1ePRUlVp3vD+h1Cu/rsZOWB Fa0hyV6ectZQFQisNmW2KNncpGjyIcir8Si1ccZDqwWCCIZ+s4T7a7YEPTDS5vbmIU uogJnppD4WAulX60NnGu0B9s0IM5yLoPujPqmlbPwStm743YtdjqKUqlwieBE3U1Tz hznNFLCE96REA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: Andrew Morton Cc: Randy Dunlap , Kees Cook , Zhao Lei , Joe Perches , Yoshihiro Shimoda , Geert Uytterhoeven , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 08/31] scripts/spelling.txt: add "algined" pattern and fix typo instances Date: Tue, 13 Dec 2016 05:04:40 +0900 Message-Id: <1481573103-11329-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481573103-11329-1-git-send-email-yamada.masahiro@socionext.com> References: <1481573103-11329-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Masahiro Yamada --- drivers/block/loop.c | 2 +- mm/page_alloc.c | 2 +- scripts/spelling.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 4af8187..7ebe3ff 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -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 && diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2c6d5f6..0314cd7 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5761,7 +5761,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) && diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 0ba478f..462e99f 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt @@ -63,6 +63,7 @@ afecting||affecting agaist||against albumns||albums alegorical||allegorical +algined||aligned algorith||algorithm algorithmical||algorithmically algoritm||algorithm