[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150309173131.GT18140@ld-irv-0074>
Date: Mon, 9 Mar 2015 10:31:31 -0700
From: Brian Norris <computersforpeace@...il.com>
To: Rafał Miłecki <zajec5@...il.com>
Cc: "linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
Dmitry Torokhov <dtor@...gle.com>,
Anatol Pomazao <anatol@...gle.com>,
Ray Jui <rjui@...adcom.com>,
Corneliu Doban <cdoban@...adcom.com>,
Jonathan Richardson <jonathar@...adcom.com>,
Florian Fainelli <f.fainelli@...il.com>,
bcm-kernel-feedback-list@...adcom.com,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kevin Cernekee <cernekee@...il.com>, sbranden@...adcom.com
Subject: Re: [PATCH 3/3] mtd: nand: add NAND driver for Broadcom STB NAND
controller
On Sat, Mar 07, 2015 at 02:21:26PM +0100, Rafał Miłecki wrote:
> On 7 March 2015 at 02:18, Brian Norris <computersforpeace@...il.com> wrote:
> > + /* NAND register range */
> > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > + ctrl->nand_base = devm_ioremap_resource(dev, res);
> > + if (!ctrl->nand_base)
> > + return -ENODEV;
>
> This is what I got during my first test:
> brcmstb_nand 11315e0.nand: can't request region for resource [mem
> 0x011315e0-0x011325df]
> Unable to handle kernel paging request at virtual address fffffff0
> (not sure why yet).
>
> Hint: devm_ioremap_resource does never return NULL
Thanks, fixed in 3 places.
I expect you've figured out your problem here by now.
Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists