Re: [PATCH] acecad: fix incorrect size parameter in usb_buffer_free

From: Dmitry Torokhov
Date: Wed Apr 21 2010 - 00:59:46 EST


Hi Axel,

On Wed, Apr 21, 2010 at 09:07:14AM +0800, Axel Lin wrote:
> The size allocated by usb_buffer_alloc is 8, however the size free by
> usb_buffer_free in usb_acecad_disconnect is 10.
> This patch corrects the size parameter in usb_buffer_free.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> Cc: Dmitry Torokhov <dtor@xxxxxxx>
> Cc: Greg KH <gregkh@xxxxxxx>

Will apply both patches to 'next' (while size is wrong 8 and 10 still fall
in the same bucket so there shoudl not be any adverse effects apparent
to users).

You don't actually have the hardware by any chance?

--
Dmitry

P.S. Your mailer line-wraps patches so they have to be edited by hand
before applying, please look into it.
--
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/