Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1230494

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

From Krzysztof Opasiak <k.opasiak@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen between instances
Date 2015-09-22 19:00 +0200
Message-ID <qbz5c-2KT-93@gated-at.bofh.it> (permalink)
References <qbyVs-2z7-9@gated-at.bofh.it> <qbz5a-2KT-55@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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@vger.kernel.org> # 3.10+
>> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
>
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and buflen  between instances Krzysztof Opasiak <k.opasiak@samsung.com> - 2015-09-22 18:50 +0200
  [PATCH 2/2] usb: gadget: loopback: Fix looping back logic  implementation Krzysztof Opasiak <k.opasiak@samsung.com> - 2015-09-22 18:50 +0200
  Re: [PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and  buflen between instances Felipe Balbi <balbi@ti.com> - 2015-09-22 19:00 +0200
    Re: [PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and  buflen between instances Krzysztof Opasiak <k.opasiak@samsung.com> - 2015-09-22 19:00 +0200
      Re: [PATCH 1/2] usb: gadget: loopback: fix: Don't share qlen and  buflen between instances Felipe Balbi <balbi@ti.com> - 2015-09-22 19:30 +0200

csiph-web