From patchwork Wed Dec 14 00:31:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 87964 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp2495981qgi; Tue, 13 Dec 2016 16:33:28 -0800 (PST) X-Received: by 10.99.126.6 with SMTP id z6mr181420310pgc.182.1481675608199; Tue, 13 Dec 2016 16:33:28 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s136si49941378pgc.91.2016.12.13.16.33.27; Tue, 13 Dec 2016 16:33:28 -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 S1753198AbcLNAdN (ORCPT + 25 others); Tue, 13 Dec 2016 19:33:13 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:40104 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752938AbcLNAdM (ORCPT ); Tue, 13 Dec 2016 19:33:12 -0500 Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id uBE0VAN3011122; Wed, 14 Dec 2016 09:31:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com uBE0VAN3011122 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1481675471; bh=9vpdNyDp3+2JqQY/czyISl4U5qsDouRRAzQcby46xDk=; h=From:To:Cc:Subject:Date:From; b=rMqYLNNGkG/tOoBY3ouG2Mc2gPzDJIgegCzifkJjsccuU65viRYpC3sRxVEHc1dxp L4OsjrN/SG7jm7QgeEgPnQ6kjsTiYBWRhPnIoVyLcVaYajBY0NOYYQZMwLZj/+AEuY Uy/914wgLbKwP4mugVJ6GaVB30ShrBxHnYaKw8TM8C6QULhHvM82UU4BjcPODhfrYY LgOACPL9FqC25+lXIJGjf/jv183ewMHIWj7azs/kLioo55SaC7MPEu8onw1uBp9DNw enPqsScxa8kMbSire0if0BRcAmR5AmXvCMEDTgtCsRxeQMjAOPbyGT39M5/YFf5Cv5 GkXfS6Gt/Tnzw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Boris Brezillon , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , Cyrille Pitchen Subject: [PATCH] mtd: fix typos in ooblayout comment blocks Date: Wed, 14 Dec 2016 09:31:01 +0900 Message-Id: <1481675461-19364-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - "This functions return ..." -> "This function returns ..." - "I you want ..." -> "If you want ..." Signed-off-by: Masahiro Yamada --- drivers/mtd/mtdcore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 Acked-by: Boris Brezillon diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index ca661ce..d64e61b 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -1129,7 +1129,7 @@ EXPORT_SYMBOL_GPL(mtd_write_oob); * @oobecc: OOB region struct filled with the appropriate ECC position * information * - * This functions return ECC section information in the OOB area. I you want + * This function returns ECC section information in the OOB area. If you want * to get all the ECC bytes information, then you should call * mtd_ooblayout_ecc(mtd, section++, oobecc) until it returns -ERANGE. * @@ -1161,7 +1161,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_ecc); * @oobfree: OOB region struct filled with the appropriate free position * information * - * This functions return free bytes position in the OOB area. I you want + * This function returns free bytes position in the OOB area. If you want * to get all the free bytes information, then you should call * mtd_ooblayout_free(mtd, section++, oobfree) until it returns -ERANGE. * @@ -1191,7 +1191,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_free); * @iter: iterator function. Should be either mtd_ooblayout_free or * mtd_ooblayout_ecc depending on the region type you're searching for * - * This functions returns the section id and oobregion information of a + * This function returns the section id and oobregion information of a * specific byte. For example, say you want to know where the 4th ECC byte is * stored, you'll use: *