Re: [PATCH v2 5/8] usb: mausb_host: Introduce PAL processing

From: Oliver Neukum
Date: Wed Feb 26 2020 - 09:20:06 EST


Hi,

+ atomic_inc(&urb->use_count);
+
+ mausb_print_urb(urb);
+
+ /*
+ * Masking URB_SHORT_NOT_OK flag as SCSI driver is adding it where it
+ * should not, so it is breaking the USB drive on the linux
+ */
+ urb->transfer_flags &= ~URB_SHORT_NOT_OK;

This is extremely drastic and will break drivers. Which driver causes
the problems?

Regards
Oliver