On Sun, Jan 13, 2013 at 7:15 PM, Markus Grabner <grabner@xxxxxxxxxxxxx> wrote: > Considering the suggestions made so far, I came up with the following > solution: the function "line6_send_raw_message_async" now has an additional > argument "bool copy", which indicates whether the supplied buffer should be > copied into a dynamically allocated block of memory. The copy flag is also > stored in the "message" struct such that the temporary memory can be freed > when appropriate without intervention of the caller. > > The patch is against linux-next since this bug should be fixed regardless of > the status of moving the Line6 driver out of the staging area. > > Reported-by: Stefan Hajnoczi <stefanha@xxxxxxxxx> > Signed-off-by: Markus Grabner <grabner@xxxxxxxxxxxxx> Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html