Date: Mon, 9 May 2016 12:38:06 -0400 From: Ed Maste <emaste@freebsd.org> To: Adrian Chadd <adrian@freebsd.org>, landonf@landonf.org Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r299241 - in head/sys: conf dev/bhnd dev/bhnd/bhndb dev/bhnd/cores/chipc dev/bhnd/nvram dev/bhnd/tools dev/bwn modules/bhnd modules/bhnd/bhndb modules/bhnd/bhndb_pci modules/bhnd/cores/... Message-ID: <CAPyFy2Di-q5bCJbW20aRF70OGAaVQcmbAGt07_J35NofpTudiw@mail.gmail.com> In-Reply-To: <201605081914.u48JE5UO050521@repo.freebsd.org> References: <201605081914.u48JE5UO050521@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 May 2016 at 15:14, Adrian Chadd <adrian@freebsd.org> wrote: > Author: adrian > Date: Sun May 8 19:14:05 2016 > New Revision: 299241 > URL: https://svnweb.freebsd.org/changeset/base/299241 > > Log: > [bhnd] Initial bhnd(4) SPROM/NVRAM support. This breaks a number of "make tinderbox" targets, e.g.: /scratch/tmp/emaste/freebsd/sys/modules/bhnd/bhndb_pci/../../../dev/bhnd/bhndb/bhndb_pci.c:170:52: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'bus_size_t' (aka 'unsigned long') [-Werror,-Wformat] device_printf(dev, "found SPROM (%zu bytes)\n", nv_sz); ~~~ ^~~~~ %lu /scratch/tmp/emaste/freebsd/sys/modules/bhnd/bhndb_pci/../../../dev/bhnd/bhndb/bhndb_pci.c:237:1: error: conflicting types for 'bhndb_pci_sprom_size' bhndb_pci_sprom_size(struct bhndb_pci_softc *sc) ^ /scratch/tmp/emaste/freebsd/sys/modules/bhnd/bhndb_pci/../../../dev/bhnd/bhndb/bhndb_pci.c:76:16: note: previous declaration is here static size_t bhndb_pci_sprom_size(struct bhndb_pci_softc *sc); ^ 2 errors generated.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Di-q5bCJbW20aRF70OGAaVQcmbAGt07_J35NofpTudiw>