On Sat, Nov 02, 2013 at 04:18:05AM +0800, Paul Zimmerman wrote:
> > From: Alan Stern
> > Sent: Friday, November 01, 2013 7:09 AM
> > 
> > Now DELAYED_STATUS isn't used anywhere.  You should add the following
> > hunk to this patch:
> > 
> > Index: usb-3.12/drivers/usb/gadget/storage_common.c
> > ===================================================================
> > --- usb-3.12.orig/drivers/usb/gadget/storage_common.c
> > +++ usb-3.12/drivers/usb/gadget/storage_common.c
> > @@ -156,7 +156,6 @@ static inline struct fsg_lun *fsg_lun_fr
> > 
> >  /* Big enough to hold our biggest descriptor */
> >  #define EP0_BUFSIZE        256
> > -#define DELAYED_STATUS     (EP0_BUFSIZE + 999)     /* An impossibly large 
> > value */
> > 
> >  #ifdef CONFIG_USB_GADGET_DEBUG_FILES
> 
> And after that, EP0_BUFSIZE isn't used anywhere that I can see. So I
> think that should be:
> 
> --- usb-3.12.orig/drivers/usb/gadget/storage_common.c
> +++ usb-3.12/drivers/usb/gadget/storage_common.c
> @@ -156,7 +156,3 @@ static inline struct fsg_lun *fsg_lun_fr
>  
> -/* Big enough to hold our biggest descriptor */
> -#define EP0_BUFSIZE  256
> -#define DELAYED_STATUS       (EP0_BUFSIZE + 999)     /* An impossibly large 
> value */
> -

Ok. I will send a patch with the above hunk.

Regards
Pratyush

>  #ifdef CONFIG_USB_GADGET_DEBUG_FILES
>  
> -- 
> Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to