svn commit: r298651 - head/sys/dev/spibus
Ruslan Bukin
br at FreeBSD.org
Tue Apr 26 16:02:15 UTC 2016
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);
More information about the svn-src-head
mailing list