On 8 May 2016 at 15:14, Adrian Chadd <adr...@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. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"