Date: Mon, 9 May 2016 09:59:57 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Ed Maste <emaste@freebsd.org> Cc: landonf@landonf.org, "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: <CAJ-VmonjnQfttukmcXoOqOWuMeprb5aBAT9TfY1RjnYDEzPWNg@mail.gmail.com> In-Reply-To: <CAPyFy2Di-q5bCJbW20aRF70OGAaVQcmbAGt07_J35NofpTudiw@mail.gmail.com> References: <201605081914.u48JE5UO050521@repo.freebsd.org> <CAPyFy2Di-q5bCJbW20aRF70OGAaVQcmbAGt07_J35NofpTudiw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Fixing it now. But there seem to be larger issues (not bhnd related.) -adrian On 9 May 2016 at 09:38, Ed Maste <emaste@freebsd.org> wrote: > 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?CAJ-VmonjnQfttukmcXoOqOWuMeprb5aBAT9TfY1RjnYDEzPWNg>