Date: Mon, 21 Mar 2016 22:19:53 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297170 - in head/sys/dev: mvs siis Message-ID: <201603212219.u2LMJrb5045539@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Mon Mar 21 22:19:53 2016 New Revision: 297170 URL: https://svnweb.freebsd.org/changeset/base/297170 Log: Fix some more long -> rman_res_t Reported by: Michael Butler (siis breakage) Modified: head/sys/dev/mvs/mvs_pci.c head/sys/dev/mvs/mvs_soc.c head/sys/dev/siis/siis.c Modified: head/sys/dev/mvs/mvs_pci.c ============================================================================== --- head/sys/dev/mvs/mvs_pci.c Mon Mar 21 22:14:48 2016 (r297169) +++ head/sys/dev/mvs/mvs_pci.c Mon Mar 21 22:19:53 2016 (r297170) @@ -396,7 +396,7 @@ mvs_alloc_resource(device_t dev, device_ int unit = ((struct mvs_channel *)device_get_softc(child))->unit; struct resource *res = NULL; int offset = HC_BASE(unit >> 2) + PORT_BASE(unit & 0x03); - long st; + rman_res_t st; switch (type) { case SYS_RES_MEMORY: Modified: head/sys/dev/mvs/mvs_soc.c ============================================================================== --- head/sys/dev/mvs/mvs_soc.c Mon Mar 21 22:14:48 2016 (r297169) +++ head/sys/dev/mvs/mvs_soc.c Mon Mar 21 22:19:53 2016 (r297170) @@ -342,7 +342,7 @@ mvs_alloc_resource(device_t dev, device_ int unit = ((struct mvs_channel *)device_get_softc(child))->unit; struct resource *res = NULL; int offset = PORT_BASE(unit & 0x03); - long st; + rman_res_t st; switch (type) { case SYS_RES_MEMORY: Modified: head/sys/dev/siis/siis.c ============================================================================== --- head/sys/dev/siis/siis.c Mon Mar 21 22:14:48 2016 (r297169) +++ head/sys/dev/siis/siis.c Mon Mar 21 22:19:53 2016 (r297170) @@ -320,7 +320,7 @@ siis_alloc_resource(device_t dev, device int unit = ((struct siis_channel *)device_get_softc(child))->unit; struct resource *res = NULL; int offset = unit << 13; - long st; + rman_res_t st; switch (type) { case SYS_RES_MEMORY:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603212219.u2LMJrb5045539>