[patch 1/4] mtd/sst25l: check for null consistently
Artem Bityutskiy
Artem.Bityutskiy at nokia.com
Wed Jul 21 06:34:12 EDT 2010
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
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list