svn commit: r332258 - head/sys/dev/spibus

Ian Lepore ian at freebsd.org
Sat Apr 7 22:23:14 UTC 2018


On Sat, 2018-04-07 at 23:59 +0200, O. Hartmann wrote:
> Am Sat, 7 Apr 2018 21:31:09 +0000 (UTC)
> Ian Lepore <ian at FreeBSD.org> schrieb:
> 
> > 
> > Author: ian
> > Date: Sat Apr  7 21:31:09 2018
> > New Revision: 332258
> > URL: https://svnweb.freebsd.org/changeset/base/332258
> > 
> > Log:
> >   Don't check for impossible NULL return from malloc(..., M_WAITOK).
> > 
> > Modified:
> >   head/sys/dev/spibus/spigen.c
> > 
> > [...]
> 
> [...]
> --- spigen.o ---
> /usr/src/sys/dev/spibus/spigen.c:327:33: error: incompatible pointer types passing
> 'uintptr_t *' (aka 'unsigned long *') to parameter of type 'uint32_t *' (aka 'unsigned
> int *') [-Werror,-Wincompatible-pointer-types] error = spibus_get_clock(dev, (uintptr_t
> *)data); ^~~~~~~~~~~~~~~~~
> 

Doh!  Sorry about that, fixed in r332259.

-- Ian



More information about the svn-src-head mailing list