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


Groups > linux.kernel > #1232294

Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling

From Krzysztof Opasiak <k.opasiak@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling
Date 2015-09-24 19:40 +0200
Message-ID <qciEW-1qz-7@gated-at.bofh.it> (permalink)
References <qcgD7-70f-9@gated-at.bofh.it> <qchSz-gB-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 09/24/2015 06:49 PM, Felipe Balbi wrote:
> On Thu, Sep 24, 2015 at 05:23:09PM +0200, Robert Baldyga wrote:
>> Move function parameters to struct f_sourcesink to make them per instance
>> instead of having them as global variables. Since we can have multiple
>> instances of USB function we also want to have separate set of parameters
>> for each instance.
>>
>> Cc: <stable@vger.kernel.org> # 3.10+
>> Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
>
> why do you think this is stable material ? Looks like it's not
> fixing anything to me; just implementing a brand new requirement.
>

Please see my answer in loopback patch[1]. It's totally the same case. 
Both those functions have the same bug.

Footnotes:
1 - http://marc.info/?l=linux-usb&m=144311466118170&w=2
-- 
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 | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] usb: gadget: f_sourcesink: fix function params handling Robert Baldyga <r.baldyga@samsung.com> - 2015-09-24 17:30 +0200
  Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params  handling Felipe Balbi <balbi@ti.com> - 2015-09-24 18:50 +0200
    Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling Krzysztof Opasiak <k.opasiak@samsung.com> - 2015-09-24 19:40 +0200

csiph-web