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

Dan Mack mack at macktronics.com
Mon Mar 23 14:42:13 UTC 2015


I just tried to build 280369 and got this:

   --- all_subdir_bhyve ---
   /usr/src/usr.sbin/bhyve/pci_ahci.c:1512:8: error: use of undeclared identifier 'dsm'
           ncq = dsm = 0;
                        ^
                         1 error generated.
                         *** [pci_ahci.o] Error code 1

This is on 10.1-Stable

Dan

On Mon, 23 Mar 2015, Alexander Motin wrote:

> 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;
> _______________________________________________
> svn-src-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
>


dan
--
Dan Mack



More information about the svn-src-all mailing list