[patch 1/4] mtd/sst25l: check for null consistently

Andrew Morton akpm at linux-foundation.org
Wed Jul 21 13:16:54 EDT 2010


On Wed, 21 Jul 2010 13:34:12 +0300 Artem Bityutskiy <Artem.Bityutskiy at nokia.com> wrote:

> On Tue, 2010-07-20 at 15:23 -0700, akpm at linux-foundation.org wrote:
> > From: Dan Carpenter <error27 at gmail.com>
> > 
> > The rest of the function assumes that "data" can be null.  I don't know
> > the code well enough to say whether it can actually be null, but there is
> > no harm in checking here.
> > 
> > Signed-off-by: Dan Carpenter <error27 at gmail.com>
> > Cc: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
> > Cc: Andre Renaud <andre at bluewatersys.com>
> > Cc: David Woodhouse <dwmw2 at infradead.org>
> > Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> 
> This patch is also in my l2-mtd-2.6 / master tree.
> 
> The tree: http://git.infradead.org/users/dedekind/l2-mtd-2.6.git

Can we add that tree to linux-next?



More information about the linux-mtd mailing list