crosvm/usb_util/src
Daniel Verkamp 01de4049ec usb_util: do not silently drop non-EAGAIN errors
Fix the error check in the poll_transfers() loop so that ioctl errors
other than EAGAIN are propagated to the caller.

BUG=chromium:1278424
TEST=Connect USB device to Crostini

Change-Id: I5508550011101a98e4d32099ac0044a3d9137018
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3335303
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-12-15 19:34:08 +00:00
..
descriptor.rs Enable clippy on more workspace crates 2021-11-15 23:55:42 +00:00
device.rs usb_util: do not silently drop non-EAGAIN errors 2021-12-15 19:34:08 +00:00
error.rs
lib.rs
types.rs Enable clippy on more workspace crates 2021-11-15 23:55:42 +00:00