svn commit: r350250 - stable/11/usr.sbin/bhyve

Ed Maste emaste at FreeBSD.org
Tue Jul 23 18:08:34 UTC 2019


Author: emaste
Date: Tue Jul 23 18:08:22 2019
New Revision: 350250
URL: https://svnweb.freebsd.org/changeset/base/350250

Log:
  MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ...
  
  ... in xhci device interrupt handler
  
  Coverity CID:	1357340

Modified:
  stable/11/usr.sbin/bhyve/pci_xhci.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/bhyve/pci_xhci.c
==============================================================================
--- stable/11/usr.sbin/bhyve/pci_xhci.c	Tue Jul 23 18:07:44 2019	(r350249)
+++ stable/11/usr.sbin/bhyve/pci_xhci.c	Tue Jul 23 18:08:22 2019	(r350250)
@@ -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-stable-11 mailing list