hw/usb/dev-mtp.c:1616: bad test ? hw/usb/dev-mtp.c:1616:52: warning: logical ‘or’ of collectively exhaustive tests is always true [-Wlogical-op] Source code is if ((ret == -1) && (errno != EINTR || errno != EAGAIN || errno != EWOULDBLOCK)) { Maybe better code if ((ret == -1) && (errno != EINTR && errno != EAGAIN && errno != EWOULDBLOCK)) {