Message ID | 1487610978-12423-4-git-send-email-boris.brezillon@free-electrons.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E02E860578 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:17:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA07E26E54 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:17:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDF2427D4A; Mon, 20 Feb 2017 17:17:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 71FF126E54 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:17:15 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5sW7aV/yFxE8JPDhval6zl5vzN6zr3dQWp7Lx3ZvqVs=; b=YrGdhkG/fPFMWLXbQYQ7OzRoCd V89bmSstxrMcSkFz5uoBkzkzQJiVUwZhbbkEnSNCGYs4b8iZuwPZAzF8E2WFEeUTt51d0bVHyjibf +gb8+KAt5UjGX8rWOjUa4tnXO+PTcu3txnGzcdMz2U8QDf54mEP/oTbyazw7/Sx77pxiLjTuWjZJQ pVjcMMdTDpkD9o1NfqV9roOdS/B61EDlV7erOF6eWyWeetNLwTFN+Lo6MoyerD8jGXfuEYvEmPTYN NPknafbVlTfLKOfSu2pLbyireljJ6qrjsB8xaahd4RUMAZJZQSMoVtLDFMY+zMSmUKuX2jxLWLy5D 2Vi7xbZA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cfraF-0007QF-Va; Mon, 20 Feb 2017 17:17:07 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cfrZp-0007NC-34; Mon, 20 Feb 2017 17:16:43 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 5C4B7207D2; Mon, 20 Feb 2017 18:16:20 +0100 (CET) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 08AB220701; Mon, 20 Feb 2017 18:16:20 +0100 (CET) From: Boris Brezillon <boris.brezillon@free-electrons.com> To: Boris Brezillon <boris.brezillon@free-electrons.com>, Richard Weinberger <richard@nod.at>, linux-mtd@lists.infradead.org, Sascha Hauer <s.hauer@pengutronix.de>, Sergio Prado <sergio.prado@e-labworks.com>, Marc Gonzalez <marc_gonzalez@sigmadesigns.com>, Wenyou Yang <wenyou.yang@atmel.com>, Josh Wu <rainyfeeling@outlook.com> Subject: [PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment Date: Mon, 20 Feb 2017 18:16:15 +0100 Message-Id: <1487610978-12423-4-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487610978-12423-1-git-send-email-boris.brezillon@free-electrons.com> References: <1487610978-12423-1-git-send-email-boris.brezillon@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170220_091641_336746_EE90A106 X-CRM114-Status: GOOD ( 10.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, Marek Vasut <marek.vasut@gmail.com>, Cyrille Pitchen <cyrille.pitchen@atmel.com>, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.c index 833af8d02424..06a1a136d448 100644 --- a/drivers/memory/atmel-ebi.c +++ b/drivers/memory/atmel-ebi.c @@ -331,6 +331,7 @@ static int atmel_ebi_dev_setup(struct atmel_ebi *ebi, struct device_node *np, return -ENOMEM; ebid->ebi = ebi; + ebid->numcs = numcs; ret = caps->xlate_config(ebid, np, &conf); if (ret < 0)
ebid->numcs is never assigned, set it to numcs after allocating the EBI dev object. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- drivers/memory/atmel-ebi.c | 1 + 1 file changed, 1 insertion(+)