Re: [PATCH] minimal fixes for drivers/usb/gadget/m66592-udc.c

From: Al Viro
Date: Sun Jul 15 2007 - 19:24:20 EST


On Sun, Jul 15, 2007 at 04:18:10PM -0700, David Brownell wrote:
> Re the leaks, in probe() request_irq() isn't cleaned up ... but it
> looked to me like the rest of the allocations did get cleaned up
> afer probe() errors. But remove() does indeed leak the memory you
> highlighted.

Why not make ep0_buf a 16bit field in that struct?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/