Message ID | 1489653034-17777-7-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 25985604A9 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Mar 2017 08:32:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 198EF283C9 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Mar 2017 08:32:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E41228644; Thu, 16 Mar 2017 08:32:36 +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 CC9F1283C9 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 16 Mar 2017 08:32:35 +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=1+5/rFihg83IhSXMhMwa2MQRkxGYNwOHAYwXrRL2vBg=; b=OBjtthIydQkvASVUd2qjaRsCJX IlIo43UmENCxOPrJUo4nTczZupoyZ+/xuFBUp507YZmug5vlRCKmWdkTOKcafbkemqlledMRU0bQJ dN7kRjlk3V4Uwwydg9MxC0ggpDklgqSma9IMi82m0fuAt2gYNOalPaiR5WJO1DhyqlyHyPAxlYHK6 bBb7LBTYyoacynnwsfGhUVfnqDSneS2Pe4O4XrhylXTbTQabdzidr7iSIfl+eSVrW8RveQRFaSf3g PdRB3NH3FLiNECV+ag3zB9wWjw+wVgen49NVxvLoatdmVNC2iCED3cggxzFmknjZPij7qet+fUbyR nYgt+bbA==; 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 1coQpm-0005N4-VR; Thu, 16 Mar 2017 08:32:35 +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 1coQoc-00041u-K6 for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2017 08:31:24 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id C047122003; Thu, 16 Mar 2017 09:30:39 +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 8FFEC20B8E; Thu, 16 Mar 2017 09:30:39 +0100 (CET) From: Boris Brezillon <boris.brezillon@free-electrons.com> To: Samuel Ortiz <sameo@linux.intel.com>, Lee Jones <lee.jones@linaro.org>, Nicolas Ferre <nicolas.ferre@atmel.com>, Alexandre Belloni <alexandre.belloni@free-electrons.com> Subject: [PATCH v2 6/7] memory: atmel-ebi: Add missing ->numcs assignment Date: Thu, 16 Mar 2017 09:30:33 +0100 Message-Id: <1489653034-17777-7-git-send-email-boris.brezillon@free-electrons.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489653034-17777-1-git-send-email-boris.brezillon@free-electrons.com> References: <1489653034-17777-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-20170316_013122_888397_4405162A X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. 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: Alexander Dahl <ada@thorsis.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, 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 8beba9a60d1c..7d24a957e98c 100644 --- a/drivers/memory/atmel-ebi.c +++ b/drivers/memory/atmel-ebi.c @@ -332,6 +332,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(+)