Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-14 Thread Yang,Wei
On 06/13/2014 09:39 PM, Alan Stern wrote: On Fri, 13 Jun 2014, Yang,Wei wrote: On 06/09/2014 02:19 PM, wei.y...@windriver.com wrote: From: Yang Wei While loading g_mass_storage module, the following warning is triggered. WARNING: at drivers/usb/gadget/composite.c: usb_composite_setup_contin

Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-13 Thread Michal Nazarewicz
On Fri, Jun 13 2014, Alan Stern wrote: > On Fri, 13 Jun 2014, Michal Nazarewicz wrote: > >> > The root cause is that the existing code fails to take into >> > account the possibility that common->new_fsg can change while >> > do_set_interface() is running, because the spinlock isn't held >> > at t

Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-13 Thread Alan Stern
On Fri, 13 Jun 2014, Yang,Wei wrote: > On 06/09/2014 02:19 PM, wei.y...@windriver.com wrote: > > From: Yang Wei > > > > While loading g_mass_storage module, the following warning > > is triggered. > > > > WARNING: at drivers/usb/gadget/composite.c: > > usb_composite_setup_continue: Unexpected cal

Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-13 Thread Alan Stern
On Fri, 13 Jun 2014, Michal Nazarewicz wrote: > > The root cause is that the existing code fails to take into > > account the possibility that common->new_fsg can change while > > do_set_interface() is running, because the spinlock isn't held > > at this point. > > common->new_fsg is not protecte

Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-13 Thread Michal Nazarewicz
On Mon, Jun 09 2014, wei.y...@windriver.com wrote: > From: Yang Wei > > While loading g_mass_storage module, the following warning > is triggered. > > WARNING: at drivers/usb/gadget/composite.c: > usb_composite_setup_continue: Unexpected call > Modules linked in: fat vfat minix nls_cp437 nls_iso88

Re: [PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-12 Thread Yang,Wei
On 06/09/2014 02:19 PM, wei.y...@windriver.com wrote: From: Yang Wei While loading g_mass_storage module, the following warning is triggered. WARNING: at drivers/usb/gadget/composite.c: usb_composite_setup_continue: Unexpected call Modules linked in: fat vfat minix nls_cp437 nls_iso8859_1 g_ma

[PATCH v3] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-08 Thread Wei.Yang
From: Yang Wei While loading g_mass_storage module, the following warning is triggered. WARNING: at drivers/usb/gadget/composite.c: usb_composite_setup_continue: Unexpected call Modules linked in: fat vfat minix nls_cp437 nls_iso8859_1 g_mass_storage [<800179cc>] (unwind_backtrace+0x0/0x104) fro