Re: [PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen between instances
From: Krzysztof Opasiak
Date: Tue Sep 22 2015 - 12:58:41 EST
On 09/22/2015 06:53 PM, Felipe Balbi wrote:
On Tue, Sep 22, 2015 at 06:39:26PM +0200, Krzysztof Opasiak wrote:
Each instance of loopback function may have different qlen
and buflen attributes values. When linking function to
configuration those values had been assigned to global
variables. Linking other instance to config overwrites those
values.
This commit moves those values to f_loopback structure
to avoid overwriting. Now each function has its own instance
of those values.
Cc: <stable@xxxxxxxxxxxxxxx> # 3.10+
Signed-off-by: Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx>
looks like you missed linux-usb on both patches. Care to resend ?
Sorry, just send v2 without reading your email because I have found some
mem leak. I will resend v2 with cc to linux-usb.
Best regards,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
--
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/