Date: Tue, 26 Apr 2016 16:02:13 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298651 - head/sys/dev/spibus Message-ID: <201604261602.u3QG2DDg055307@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: br Date: Tue Apr 26 16:02:13 2016 New Revision: 298651 URL: https://svnweb.freebsd.org/changeset/base/298651 Log: Fix the parameter type according to method declaration. This fixes compilation on riscv with GCC 5.2.0 Modified: head/sys/dev/spibus/spibus.c Modified: head/sys/dev/spibus/spibus.c ============================================================================== --- head/sys/dev/spibus/spibus.c Tue Apr 26 15:41:31 2016 (r298650) +++ head/sys/dev/spibus/spibus.c Tue Apr 26 16:02:13 2016 (r298651) @@ -139,7 +139,7 @@ spibus_child_pnpinfo_str(device_t bus, d } static int -spibus_read_ivar(device_t bus, device_t child, int which, u_int *result) +spibus_read_ivar(device_t bus, device_t child, int which, uintptr_t *result) { struct spibus_ivar *devi = SPIBUS_IVAR(child);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604261602.u3QG2DDg055307>