Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common_init() error recovery

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michał Nazarewicz
Date: Wednesday, May 12, 2010 - 2:57 am

On Wed, 12 May 2010 11:36:06 +0200, Viral Mehta <Viral.Mehta@lntinfotech.com> wrote:

Yes, it should work fine and in fact was my first approach but as I've written in
my previous mail:


Because of that, I the "goto error_release" to be cleaner in the sense that
there is a single error recovery path and only one place where
free_storage_on_release flag is checked and common freed.

-- 
Best regards,                                        _     _
| Humble Liege of Serenely Enlightened Majesty of  o' \,=./ `o
| Computer Science,  Michał "mina86" Nazarewicz       (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] USB: gadget: f_mass_storage: fix in fsg_common_ini ..., Michal Nazarewicz, (Wed May 12, 1:16 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common ..., Michał Nazarewicz, (Wed May 12, 2:02 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common ..., Michał Nazarewicz, (Wed May 12, 2:53 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common ..., Michał Nazarewicz, (Wed May 12, 2:57 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common ..., Michał Nazarewicz, (Wed May 12, 3:34 am)
[PATCH] USB: gadget: f_mass_storage: fix in error recovery, Michal Nazarewicz, (Wed May 12, 3:51 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in fsg_common ..., Michał Nazarewicz, (Wed May 12, 3:52 am)
Re: [PATCH] USB: gadget: f_mass_storage: fix in error recovery, Michal Nazarewicz, (Wed May 12, 3:16 pm)