On Thu, Nov 24, 2011 at 10:02:53AM +0100, walter harms wrote: > the code nicely shows that docg3_floors[floor] will be foobar if mtd==NULL and floor > 0 > I guess that can cause problems with the "doc_release_device(docg3_floors[floor]);" > > perhaps a "docg3_floors[floor] = NULL;" can help here ? > It's allocated with kzalloc() so it already is. regards, dan carpenter
Attachment:
signature.asc
Description: Digital signature