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.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 5EE21C43381 for ; Thu, 21 Feb 2019 13:15:30 +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 29A192086A for ; Thu, 21 Feb 2019 13:15:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TwfSiMPP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EQpxL3iF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="nGEmSuJn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29A192086A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=k8nEhlthMqockJn8LFs5anRk+RVoFmiIcFG/7uyVC9M=; b=TwfSiMPPBqwR7N D2r46s9cK97qejpOZHpZYCuoyduD8x9M/3PCUcalJMm22swod1Qa5w0NlipC4qqcHFpGaebwcVOe+ CCX6EvY4TqiteJbwSrpHvdI/7+/tRECnsA+FYM3VYcyNHt5h84SAQXNRacyH+mPV9ibSg5qx/9VOL jyj6o0WVIJYmts65zhYwwEf/IZh6QE3TCNdTWFzHXvT4R9/9N8w0U8vxKi99oHy8pNiePSX37JmxP pQ3PnWl8lHVPH9YKex2epdMq0WqpC7D/ZnNWD+6dBJO51x9cPfemGyIpl6f/e8muhLdHmwjJy6l6u 3GJDzF4fiKEPVPA5wuFQ==; 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 1gwoCF-000838-0f; Thu, 21 Feb 2019 13:15:27 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwoCD-0006dy-9Y; Thu, 21 Feb 2019 13:15:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=O9dUS41GuBUBlWRxClOPwdAtiQDOo3x46A0HHc6/jkA=; b=EQpxL3iFeGZ/XeJoLs2pHgGndr 0sUGMPowo0zGl8Wz9VRpR8uGajI2bgcHa/A1dA0PcqbS5pklB98aqeF2HfvoLj326vDevW5AXoSoz I8Ks5RbeIimMCGK7ARSo/v45jBKHvUTP65c2QlXkgqL3JPEDag7m/F3zaLFIiWoTLztNeeZGBykWh 5UrOLnJyMy/XTHlK+7qgFGOiKXDdylccwq2Cta6zbXsoNqdPXJmW3xeBT6kxlZ8cvkAAmNGsohY/W FRZDcrX8rr0CbfiVpK2YaDDwK5P0MC2fijwSc4oX/RLt/yLHSm7O5sguDDv2oc4Ut3ICu1NCHjF1X uDatEvZA==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwnyO-0000Wj-P0; Thu, 21 Feb 2019 13:01:13 +0000 Received: from localhost (unknown [91.160.177.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 245D92070B; Thu, 21 Feb 2019 13:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550754067; bh=pcit4odRQ5yNHQ0Uehrb1B7MsjC5zKgdhSN3hsFdhQ4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nGEmSuJnxIHy6OKrOeu4OhmCWSUZ5Rgq88QE1ApVrUlaHrCjvjU8+TzgZ+WgSHd62 leDW3BP1dNkBNgXcDiDD8fUB2b6keQmt98E8Q4SNSaUYGeC59qi0uRWch3EWP7A6id 5U+qwm2dkG7P23IRkBUrm+Fqs88ieSUqmUodWu6E= Date: Thu, 21 Feb 2019 14:01:01 +0100 From: Boris Brezillon To: Miquel Raynal , Mason Yang Subject: Re: [RFC PATCH 10/27] mtd: rawnand: Get rid of chip->ecc.priv Message-ID: <20190221140101.657cc910@kernel.org> In-Reply-To: <20190221100216.25255-11-miquel.raynal@bootlin.com> References: <20190221100216.25255-1-miquel.raynal@bootlin.com> <20190221100216.25255-11-miquel.raynal@bootlin.com> 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-20190221_130109_218741_F493520A X-CRM114-Status: GOOD ( 21.27 ) 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: Vignesh R , Tudor Ambarus , Julien Su , Richard Weinberger , Schrempf Frieder , 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 Thu, 21 Feb 2019 11:01:59 +0100 Miquel Raynal wrote: > nand_ecc_ctrl embeds a private pointer which had only a meaning in the > sunxi driver. This structure will soon be deprecated, but as this > field is actually not needed, let's just drop it. > > Signed-off-by: Miquel Raynal > --- > drivers/mtd/nand/raw/sunxi_nand.c | 29 ++++++++++++++--------------- > include/linux/mtd/rawnand.h | 2 -- > 2 files changed, 14 insertions(+), 17 deletions(-) > > diff --git a/drivers/mtd/nand/raw/sunxi_nand.c b/drivers/mtd/nand/raw/sunxi_nand.c > index b56f89c992f3..d05f71f33b5c 100644 > --- a/drivers/mtd/nand/raw/sunxi_nand.c > +++ b/drivers/mtd/nand/raw/sunxi_nand.c > @@ -230,6 +230,7 @@ static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) > * this NAND controller > * @complete: a completion object used to wait for NAND > * controller events > + * @ecc: ECC controller structure > */ > struct sunxi_nfc { > struct nand_controller controller; > @@ -243,6 +244,7 @@ struct sunxi_nfc { > struct list_head chips; > struct completion complete; > struct dma_chan *dmac; > + struct sunxi_nand_hw_ecc *ecc; It's a per-chip object, not a per-controller one, should be moved to sunxi_nand_chip. > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel