Date: Sat, 07 Apr 2018 16:23:05 -0600 From: Ian Lepore <ian@freebsd.org> To: "O. Hartmann" <ohartmann@walstatt.org>, Navdeep Parhar <np@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r332258 - head/sys/dev/spibus Message-ID: <1523139785.89422.3.camel@freebsd.org> In-Reply-To: <20180408000013.1fc266c4@thor.intern.walstatt.dynvpn.de> References: <201804072131.w37LV9fv020077@repo.freebsd.org> <20180408000013.1fc266c4@thor.intern.walstatt.dynvpn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1523139785.89422.3.camel>