Re: [PATCH] mfd/tc6393xb: don't use devinit data from non-initfunction

From: Samuel Ortiz
Date: Tue Oct 19 2010 - 09:34:59 EST


On Tue, Oct 19, 2010 at 03:33:44PM +0200, Uwe Kleine-König wrote:
> On Tue, Oct 19, 2010 at 03:22:29PM +0200, Samuel Ortiz wrote:
> > On Tue, Oct 19, 2010 at 03:07:05PM +0200, Uwe Kleine-König wrote:
> > > On Tue, Oct 19, 2010 at 12:31:31PM +0200, Samuel Ortiz wrote:
> > > > Hi Uwe,
> > > >
> > > > On Tue, Oct 19, 2010 at 09:19:51AM +0200, Uwe Kleine-König wrote:
> > > > > Hello,
> > > > >
> > > > > On Tue, Mar 02, 2010 at 05:22:33PM +0100, Uwe Kleine-König wrote:
> > > > > > tc6393xb_mmc_resources (which was marked __devinitdata) is used in
> > > > > > tc6393xb_mmc_enable() and tc6393xb_mmc_resume() which both are functions
> > > > > > living in .text. This is not save with CONFIG_HOTPLUG=n.
> > > > > >
> > > > > > This was introduced in
> > > > > >
> > > > > > 64e8867 (mfd: tmio_mmc hardware abstraction for CNF area)
> > > > > >
> > > > > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > > > > > Cc: Ian Molton <ian@xxxxxxxxxxxxxx>
> > > > > > Cc: Magnus Damm <damm@xxxxxxxxxxxxx>
> > > > > > Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
> > > > > ping
> > > > This one slipped through...
> > > > I just applied a similar patch from Marek Vasut, are you ok with that ?
> > > Hmm, cannot find it, neither in next nor in your tree.
> > I just pushed it now.
> > See http://www.spinics.net/lists/arm-kernel/msg101220.html if you still can't
> > get it.
> the change is identical, so OK.
Thanks for checking.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/