Date: Thu, 11 Jun 2009 17:06:58 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194020 - in head/sys/dev: eisa mca spibus Message-ID: <200906111706.n5BH6wk5054153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Thu Jun 11 17:06:58 2009 New Revision: 194020 URL: http://svn.freebsd.org/changeset/base/194020 Log: strict kobj signatures: fix assortment of bus_read_ivar impls Reviewed by: imp, current@ Approved by: jhb (mentor) Modified: head/sys/dev/eisa/eisaconf.c head/sys/dev/mca/mca_bus.c head/sys/dev/spibus/spibus.c Modified: head/sys/dev/eisa/eisaconf.c ============================================================================== --- head/sys/dev/eisa/eisaconf.c Thu Jun 11 17:06:45 2009 (r194019) +++ head/sys/dev/eisa/eisaconf.c Thu Jun 11 17:06:58 2009 (r194020) @@ -315,7 +315,7 @@ eisa_find_ioaddr(struct eisa_device *e_d } static int -eisa_read_ivar(device_t dev, device_t child, int which, u_long *result) +eisa_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) { struct eisa_device *e_dev = device_get_ivars(child); struct irq_node *irq; Modified: head/sys/dev/mca/mca_bus.c ============================================================================== --- head/sys/dev/mca/mca_bus.c Thu Jun 11 17:06:45 2009 (r194019) +++ head/sys/dev/mca/mca_bus.c Thu Jun 11 17:06:58 2009 (r194020) @@ -432,7 +432,7 @@ mca_probe_nomatch (device_t dev, device_ } static int -mca_read_ivar (device_t dev, device_t child, int which, u_long * result) +mca_read_ivar (device_t dev, device_t child, int which, uintptr_t * result) { struct mca_device * m_dev = device_get_ivars(child); Modified: head/sys/dev/spibus/spibus.c ============================================================================== --- head/sys/dev/spibus/spibus.c Thu Jun 11 17:06:45 2009 (r194019) +++ head/sys/dev/spibus/spibus.c Thu Jun 11 17:06:58 2009 (r194020) @@ -112,7 +112,7 @@ spibus_child_pnpinfo_str(device_t bus, d } static int -spibus_read_ivar(device_t bus, device_t child, int which, u_char *result) +spibus_read_ivar(device_t bus, device_t child, int which, u_int *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?200906111706.n5BH6wk5054153>