lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen between instances
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@vger.kernel.org> # 3.10+
> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>

heh, no linux-usb again :-p

--
balbi
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-09-22 19:41    [W:0.074 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site