From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 21 Jul 2010 10:16:54 -0700 From: Andrew Morton To: Artem.Bityutskiy@nokia.com Subject: Re: [patch 1/4] mtd/sst25l: check for null consistently Message-Id: <20100721101654.1dbb3468.akpm@linux-foundation.org> In-Reply-To: <1279708452.2306.6.camel@localhost> References: <201007202224.o6KMO0oR021381@imap1.linux-foundation.org> <1279708452.2306.6.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, andre@bluewatersys.com, dwmw2@infradead.org, error27@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 21 Jul 2010 13:34:12 +0300 Artem Bityutskiy wrote: > On Tue, 2010-07-20 at 15:23 -0700, akpm@linux-foundation.org wrote: > > From: Dan Carpenter > > > > 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 > > Cc: Artem Bityutskiy > > Cc: Andre Renaud > > Cc: David Woodhouse > > Signed-off-by: Andrew Morton > > 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?