Message ID | 1487611322-12688-3-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 07F0E6047C for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:26:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10863284E8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:26:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04DE4287CF; Mon, 20 Feb 2017 17:26:11 +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 9D4C1284E8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 20 Feb 2017 17:26:10 +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=d6S7Xsl+Jlroq7aLmtdl3tIucc CcLCF5LStmwIwe7WzBlf8ZAHzWKe2AdZyNr2JRb7/qsSJ9Jk40nNW5lopAVzDPgmWb0R26W+VLV+K ygH576U57qJLOxaukvrBLzYSxNFVVNv8eTVw9QViFkVuekD7HinI9KNNPRRFPVWTA4q3zQKjPpONy hmC9Ceg8ABtcs5uOUjCIorxeI0QE7R9bGA/15+OIzgLGFgX8s0prnHtysvctJJ0b5IKZMT5vUv05R OElSqW97wNiXTnNSowneLvtX1UZkIgiXTG1tAdmF3C8ZwMZl3u2N11EUMF5+Aegl8na8g2v6dXskC fT0Dd7fA==; 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 1cfrir-0005yt-VJ; Mon, 20 Feb 2017 17:26:01 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cfrfc-0003CC-Br; Mon, 20 Feb 2017 17:22:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=8UZt7mVebk/Q+3v8usjP00FQmSHYTurM5nNJdMem/Ds=; b=tgJAX/YSJP8BWLlfVTqV4ZDZp JgrTTMibqaLpAGvtJgpSTLJywXixK04JqemzFgpYCAaUFF1mikRrDPbd2UXRqnMD1EC3ssik20Ewj YV3ZmCfT67qbbwGTcgpm3XEuZcp27Xmqp7w7Wc73ChT/o9gXJbzZ+xfvwUdrq9+a9NOlHB3gGQ5PW 4jLwJ6ZO7npySmVGMkF681u0cK4os2HvbzI2YqB4Cz6/s22qca8TD02KX8TB7X0AOaYxzWsAGSSHX XR39Q5JPGyX8DcyjqKj91u5anVQnMHXE0aStyvR8grt/rrGCUgxXlqNudVhv3z/fPgExyMMm9SbqA ggcum/P1Q==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cfrfa-0004dQ-91; Mon, 20 Feb 2017 17:22:39 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 0CCC7207C0; Mon, 20 Feb 2017 18:22:17 +0100 (CET) Received: from bbrezillon.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id A4F52207D2; Mon, 20 Feb 2017 18:22:06 +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: [RESEND PATCH 2/3] memory: atmel-ebi: Add missing ->numcs assignment Date: Mon, 20 Feb 2017 18:22:01 +0100 Message-Id: <1487611322-12688-3-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487611322-12688-1-git-send-email-boris.brezillon@free-electrons.com> References: <1487611322-12688-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_122238_490769_53EEA121 X-CRM114-Status: GOOD ( 11.96 ) 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(+)