[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150305155234.GU3989@piout.net>
Date: Thu, 5 Mar 2015 16:52:34 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Alexander Stein <alexander.stein@...tec-electronic.com>
Cc: Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Boris Brezillon <boris.brezillon@...e-electrons.com>
Subject: Re: [PATCH v2 5/9] ARM: at91: add soc detection infrastructure
On 05/03/2015 at 16:29:26 +0100, Alexander Stein wrote :
> > + if (!regs) {
> > + pr_warn("Could not map DBGU iomem range");
> > + iounmap(regs);
>
> I guess if regs == NULL there is no need to iounmap them, no?
>
Indeed :)
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
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