Date: Tue, 12 Jul 2016 17:38:18 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302668 - head/usr.sbin/bhyve Message-ID: <201607121738.u6CHcIPG030892@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Jul 12 17:38:18 2016 New Revision: 302668 URL: https://svnweb.freebsd.org/changeset/base/302668 Log: Make unknown register reads predictable. Reported by: Coverity CID: 1357525 Modified: head/usr.sbin/bhyve/pci_e82545.c Modified: head/usr.sbin/bhyve/pci_e82545.c ============================================================================== --- head/usr.sbin/bhyve/pci_e82545.c Tue Jul 12 17:32:40 2016 (r302667) +++ head/usr.sbin/bhyve/pci_e82545.c Tue Jul 12 17:38:18 2016 (r302668) @@ -2000,6 +2000,7 @@ e82545_read_register(struct e82545_softc break; default: DPRINTF("Unknown read register: 0x%x\r\n", offset); + retval = 0; break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607121738.u6CHcIPG030892>