svn commit: r349915 - head/usr.sbin/bhyve
Sean Chittenden
seanc at FreeBSD.org
Thu Jul 11 19:26:36 UTC 2019
Author: seanc (ports committer)
Date: Thu Jul 11 19:26:35 2019
New Revision: 349915
URL: https://svnweb.freebsd.org/changeset/base/349915
Log:
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
Modified:
head/usr.sbin/bhyve/pci_xhci.c
Modified: head/usr.sbin/bhyve/pci_xhci.c
==============================================================================
--- head/usr.sbin/bhyve/pci_xhci.c Thu Jul 11 19:07:45 2019 (r349914)
+++ head/usr.sbin/bhyve/pci_xhci.c Thu Jul 11 19:26:35 2019 (r349915)
@@ -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;
More information about the svn-src-all
mailing list