Re: [PATCH v2 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen between instances

From: Felipe Balbi
Date: Tue Sep 22 2015 - 13:23:36 EST


On Tue, Sep 22, 2015 at 06:54:57PM +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>

heh, no linux-usb again :-p

--
balbi

Attachment: signature.asc
Description: PGP signature