From: Dan Carpenter <error27@xxxxxxxxx> Date: Fri, 17 Dec 2010 16:25:43 +0300 > The original code returns 0 on success and 1 on failure. In fact, at > this point, "ret" is already either zero or a negative error code so > we can just return it directly. > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> Indeed, the USBNET ->bind() method, which this return value propagates to, expects negative return values on error. Applied, and queued up for -stable, thanks Dan. -- 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