Re: [GIT PATCH 2/3 (2nd draft)] Resend : Fix memory leak in qcserialdriver

From: Aristeu Rozanski
Date: Tue Mar 29 2011 - 09:22:24 EST


On Mon, Mar 28, 2011 at 11:16:37PM +0100, Steven Hardy wrote:
> + /* Set serial->private if not returning -ENODEV */
> + if ( retval != -ENODEV )
^ ^
coding style
> + usb_set_serial_data(serial, data);
> return retval;
> }
the rest looks good to me.

--
Aristeu

--
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/