2018-06-22 2:23 GMT+01:00 Jaejoong Kim :
> Hi Michal,
>
> Could you check this patch?
Sorry about long delay, I haven’t settled in my new place yet (which
is also why I’m using Gmail).
> 2018년 6월 14일 (목) 오후 11:55, Alan Stern 님이 작성:
>>
>> On Thu, 14 Jun 2018, Jaejoong Kim wrote:
>>
>> > The refere
On Thu, 14 Jun 2018, Jaejoong Kim wrote:
> The reference count is initialized in fsg_alloc_inst(). So if
> fsg_alloc_inst() fails, we need to add kref_put() to free an
> allocated memory.
>
> Signed-off-by: Jaejoong Kim
> ---
> drivers/usb/gadget/function/f_mass_storage.c | 1 +
> 1 file change
The reference count is initialized in fsg_alloc_inst(). So if
fsg_alloc_inst() fails, we need to add kref_put() to free an
allocated memory.
Signed-off-by: Jaejoong Kim
---
drivers/usb/gadget/function/f_mass_storage.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/functio