Lars-Peter Clausen wrote: >> >> - dma = kzalloc(sizeof(*dma) + strlen(np->full_name), GFP_KERNEL); >> + dma = kzalloc(sizeof(*dma), GFP_KERNEL); > > This should probably be part of patch 1. I think you're right.