Reported by Takahiro HAYASHI on bugs@, thanks!
-/* $OpenBSD: xhci.c,v 1.58 2015/01/21 14:02:33 mpi Exp $ */
+/* $OpenBSD: xhci.c,v 1.59 2015/04/19 11:12:58 mpi Exp $ */
/*
* Copyright (c) 2014-2015 Martin Pieuchot
struct xhci_pipe *xp;
struct usbd_xfer *xfer;
struct xhci_xfer *xx;
- uint8_t dci, slot, code, remain;
+ uint8_t dci, slot, code;
+ uint32_t remain;
int trb_idx;
slot = XHCI_TRB_GET_SLOT(flags);