Re: [PATCH] usb: gadget: function: Fixed the return value on error path

2014-10-27 Thread pavi1729
Sebastian,
   Will push the patch today for the second issue today. Was on Diwali
holidays .. :)

Cherrs,,
Pavitra

On Thu, Oct 23, 2014 at 3:48 PM, Sebastian Andrzej Siewior
bige...@linutronix.de wrote:
 On 10/22/2014 04:03 PM, Pavitrakumar Managutte wrote:
 Fixed the return value on failure. status variable
 is set to 0 at usb_assign_descriptors call and the same is
 returned on error which is incorrect.

 Signed-off-by: Pavitrakumar Managutte pavitra1...@gmail.com
 Acked-by: Sebastian Andrzej Siewior bige...@linutronix.de

 I spotted two wrong error paths, this one. Do you look after the second
 one?

 Sebastian
--
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


Re: [PATCH] usb: gadget: function: Fixed the return value on error path

2014-10-23 Thread Sebastian Andrzej Siewior
On 10/22/2014 04:03 PM, Pavitrakumar Managutte wrote:
 Fixed the return value on failure. status variable
 is set to 0 at usb_assign_descriptors call and the same is
 returned on error which is incorrect.
 
 Signed-off-by: Pavitrakumar Managutte pavitra1...@gmail.com
Acked-by: Sebastian Andrzej Siewior bige...@linutronix.de

I spotted two wrong error paths, this one. Do you look after the second
one?

Sebastian
--
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