gadget: short_not_ok field in usb_request

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

 



I've noticed that the 'struct usb_request' has a .short_not_ok
field in it, which the documentation says is to specify short
transfers are not allowed.

Searching through all the current gadget drivers (circa -rc5),
there's not one of them that does anything with this field
before notifying the completion.

Is there any reason to check this, and if so, what error should
the request return?

-- 
Ben (ben@xxxxxxxxx, http://www.fluff.org/)

  'a smiley only costs 4 bytes'
--
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