1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

usr.sbin/bhyve: initialize return value in xhci device interrupt handler

Coverity CID:	1357340
Approved by:	scottl, markj
Differential Revision:	https://reviews.freebsd.org/D20917
This commit is contained in:
Sean Chittenden 2019-07-11 19:26:35 +00:00
parent 2a1950b9cc
commit cdd80cac4a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349915

View File

@ -2544,7 +2544,7 @@ pci_xhci_dev_intr(struct usb_hci *hci, int epctx)
struct pci_xhci_softc *sc;
struct pci_xhci_portregs *p;
struct xhci_endp_ctx *ep_ctx;
int error;
int error = 0;
int dir_in;
int epid;