From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9782C43381 for ; Sun, 31 Mar 2019 11:33:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A45F8206B7 for ; Sun, 31 Mar 2019 11:33:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lFg8/5aP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A45F8206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=v8sYuuC0hA45uOSel4z+TLnndEZRcUMy5DwIBpR77c0=; b=lFg8/5aPpcY+nt RUgSePMbSma7nj7ZHzJB3MiI7w2a+aTx0A4CcjR3USENTP/h7AVuUoG64mBR4G53Kpf8ClzfTAZom hx3PWn1upovin8e73hIeHaNCnj1QZvjgH1RLikzvFF0mtUkWCVIZD1ZiBmeJtn0gu2Qm5E5PXdlrV rAj1JOc0EclzvlrxwTzEcGe9i+H61ezEzHP9f46s3vMAlJIkSi0tNnaLKjh6G1RvFdQO/jMkO1g+5 mXZsRkQRH8JY/in9zOXveXEiylkMckI3EOs+nHFFH11U+QRVb/nFhfCIrbllo7+DLg8Mu2RIHo8vm 0izpwfiZ5ipPJmLLkCCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAYhp-0002Fx-GB; Sun, 31 Mar 2019 11:32:53 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAYhm-0002FY-Jp; Sun, 31 Mar 2019 11:32:52 +0000 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id C8D2A26040B; Sun, 31 Mar 2019 12:32:48 +0100 (BST) Date: Sun, 31 Mar 2019 13:32:46 +0200 From: Boris Brezillon To: Miquel Raynal Subject: Re: [PATCH v2 11/36] mtd: Fix typo in mtd_ooblayout_set_databytes() description Message-ID: <20190331133246.61645c15@collabora.com> In-Reply-To: <20190304222841.13899-12-miquel.raynal@bootlin.com> References: <20190304222841.13899-1-miquel.raynal@bootlin.com> <20190304222841.13899-12-miquel.raynal@bootlin.com> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190331_043250_776634_ABC1236A X-CRM114-Status: GOOD ( 16.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mason Yang , Vignesh R , Tudor Ambarus , Julien Su , Richard Weinberger , Boris Brezillon , Schrempf Frieder , Paul Cercueil , Marek Vasut , linux-mtd@lists.infradead.org, Thomas Petazzoni , Brian Norris , David Woodhouse , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 4 Mar 2019 23:28:16 +0100 Miquel Raynal wrote: > Fix a probable copy/paste error: the function works like > mtd_ooblayout_set_bytes(), not the *_get_bytes() alternate. > > Signed-off-by: Miquel Raynal > --- > drivers/mtd/mtdcore.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c > index 21e3cdc04036..6ed48018163c 100644 > --- a/drivers/mtd/mtdcore.c > +++ b/drivers/mtd/mtdcore.c > @@ -1592,7 +1592,7 @@ EXPORT_SYMBOL_GPL(mtd_ooblayout_get_databytes); > * @start: first ECC byte to set > * @nbytes: number of ECC bytes to set Looks like the parameter descriptions are wrong too. > * > - * Works like mtd_ooblayout_get_bytes(), except it acts on free bytes. > + * Works like mtd_ooblayout_set_bytes(), except it acts on free bytes. > * > * Returns zero on success, a negative error code otherwise. > */ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel