Skip to contentSkip to conversation

usb: usbtmc: Support Read Status Byte with SRQ per file

PATCH New Greg Kroah-Hartman 1 participant 1 message Jul 21, 2018 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH v2 1/29 usb: usbtmc: Support Read Status Byte with SRQ per file

Quoted 8 lines · Guido Kiener
(quoted diff) +2 -1
 		}
-		dev_warn(dev, "invalid notification: %x\n", data->iin_buffer[0]);
+		dev_warn(dev, "invalid notification: %x\n",
+			 data->iin_buffer[0]);
 		break;
 	case -EOVERFLOW:
 		dev_err(dev, "overflow with length %d, actual length is %d\n",

Review static void usbtmc_interrupt(struct urb *urb) · line 1375

Quoted 7 lines
(quoted diff) +1 -0
@@ -1295,6 +1369,7 @@ static void usbtmc_interrupt(struct urb *urb)
 	case -ESHUTDOWN:
 	case -EILSEQ:
 	case -ETIME:
+	case -EPIPE:
 		/* urb terminated, clean up */
 		dev_dbg(dev, "urb terminated, status: %d\n", status);
 		return;

Minor nit, these two changes didn't have anything to do with the larger patch. I'll let them slide for now, but please be more careful in the future.

thanks,

greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html