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/...
Ed Maste
emaste at freebsd.org
Mon May 9 16:38:26 UTC 2016
On 8 May 2016 at 15:14, Adrian Chadd <adrian at 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.
More information about the svn-src-head
mailing list