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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <pavitra1729@xxxxxxxxx>
Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux