svn commit: r350249 - stable/12/usr.sbin/bhyve
Ed Maste
emaste at FreeBSD.org
Tue Jul 23 18:07:56 UTC 2019
Author: emaste
Date: Tue Jul 23 18:07:44 2019
New Revision: 350249
URL: https://svnweb.freebsd.org/changeset/base/350249
Log:
MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ...
... in xhci device interrupt handler
Coverity CID: 1357340
Modified:
stable/12/usr.sbin/bhyve/pci_xhci.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.sbin/bhyve/pci_xhci.c
==============================================================================
--- stable/12/usr.sbin/bhyve/pci_xhci.c Tue Jul 23 18:07:36 2019 (r350248)
+++ stable/12/usr.sbin/bhyve/pci_xhci.c Tue Jul 23 18:07:44 2019 (r350249)
@@ -2570,7 +2570,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