svn commit: r280363 - stable/10/usr.sbin/bhyve

Alexander Motin mav at FreeBSD.org
Mon Mar 23 11:48:26 UTC 2015


Author: mav
Date: Mon Mar 23 11:48:25 2015
New Revision: 280363
URL: https://svnweb.freebsd.org/changeset/base/280363

Log:
  MFC r280293: Add missing variable initialization.
  
  Reported by:	Coverity
  CID:		1288938

Modified:
  stable/10/usr.sbin/bhyve/pci_ahci.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- stable/10/usr.sbin/bhyve/pci_ahci.c	Mon Mar 23 11:47:01 2015	(r280362)
+++ stable/10/usr.sbin/bhyve/pci_ahci.c	Mon Mar 23 11:48:25 2015	(r280363)
@@ -1509,7 +1509,7 @@ ata_ioreq_cb(struct blockif_req *br, int
 
 	DPRINTF("%s %d\n", __func__, err);
 
-	ncq = 0;
+	ncq = dsm = 0;
 	aior = br->br_param;
 	p = aior->io_pr;
 	cfis = aior->cfis;


More information about the svn-src-all mailing list