On Sat, 2018-04-07 at 23:59 +0200, O. Hartmann wrote:
> Am Sat, 7 Apr 2018 21:31:09 +0000 (UTC)
> Ian Lepore <i...@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

_______________________________________________
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"

Reply via email to