[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1301291033000.1507-100000@iolanthe.rowland.org>
Date: Tue, 29 Jan 2013 10:34:53 -0500 (EST)
From: Alan Stern <stern@...land.harvard.edu>
To: Russell King - ARM Linux <linux@....linux.org.uk>
cc: Roger Quadros <rogerq@...com>, <tony@...mide.com>,
<sameo@...ux.intel.com>, <balbi@...com>,
<gregkh@...uxfoundation.org>, <eballetbo@...il.com>,
<javier@...hile0.org>, <sshtylyov@...sta.com>,
<linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 09/30] USB: ehci-omap: Use devm_request_and_ioremap()
On Mon, 28 Jan 2013, Russell King - ARM Linux wrote:
> On Mon, Jan 28, 2013 at 10:17:33AM -0500, Alan Stern wrote:
> > On Mon, 28 Jan 2013, Roger Quadros wrote:
> >
> > > Make use of devm_request_and_ioremap() and correct comment.
> >
> > Didn't a big patch come through recently converting all usages of
> > devm_request_and_ioremap() to another function (I forget the name) that
> > does its own error reporting and returns an ERR_PTR value?
> >
> > (Checks the mailing list archive...) Ah, here it is:
> >
> > http://marc.info/?l=linux-usb&m=135876311801537&w=2
> >
> > And the new function is devm_ioremap_resource(). We should avoid
> > adding new usages of an old interface.
>
> Maybe... if devm_ioremap_resource() was already in the kernel. The
> problem at the moment is it isn't, and it'll probably be rather
> horrid for everyone to deal with especially when it comes to testing.
Not in the kernel yet? I didn't realize that. Looks like Thierry
Reding will have some clean-up work to do when it does get in.
Okay, then
Acked-by: Alan Stern <stern@...land.harvard.edu>
--
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