[PATCH] mxc-nand: no need to check for validity of platform drive data

Artem Bityutskiy Artem.Bityutskiy at Nokia.com
Fri Feb 5 08:55:31 EST 2010


Hi,

On Fri, 2010-02-05 at 14:47 +0100, ext Uwe Kleine-König wrote:
> Hello Artem,
> 
> On Sun, Jan 17, 2010 at 10:25:54AM +0200, Artem Bityutskiy wrote:
> > On Mon, 2010-01-11 at 15:05 +0100, Uwe Kleine-König wrote:
> > > The probe function calls platform_set_drvdata with a valid pointer when
> > > the probe is successful.  As mxcnd_suspend and mxcnd_resume are only
> > > called on bound devices, platform_get_drvdata always returns non-NULL.
> > > 
> > > This fix isn't critical as the pointer is always valid so it doesn't
> > > matter if the compiler generated code for it or not.
> > 
> > I've put these patches to my l2-mtd-2.6.git/master
> Up to now this patch didn't hit next.  Maybe you want to ask Steven
> Rothwell to merge your tree, too?

This is up to dwmw2, who is the MTD maintainer. All I do is I am helping
dwmw2 by providing him a git tree with all MTD patches from the mailing
list. So he does not have to go through whole mailing list. I put stuff
I reviewed to "master", and stuff I did/could not review to "dunno"

Hence, my tree is "level 2".

To get into the "next" tree, you should contact dwmw2.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list