[PATCH 1/2] mtd: docprobe: use kzalloc instead

Artem Bityutskiy dedekind1 at gmail.com
Thu Dec 29 16:38:45 EST 2011


On Thu, 2011-12-29 at 22:31 +0100, Thomas Petazzoni wrote:
> Le Thu, 29 Dec 2011 17:47:05 +0200,
> Artem Bityutskiy <dedekind1 at gmail.com> a écrit :
> 
> > +		mtd = kzmalloc(sizeof(struct DiskOnChip) + sizeof(struct mtd_info), GFP_KERNEL);
> 
> I guess you mean kzalloc() and not kzmalloc().

Yes, I have actually had fixed that but then sent the bogus patcy
version, thanks!

Artem.






More information about the linux-mtd mailing list