Date: Sat, 7 Dec 2013 22:25:07 +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: r259082 - in head/sys: dev/iicbus powerpc/powermac Message-ID: <201312072225.rB7MP7Kv054771@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat Dec 7 22:25:07 2013 New Revision: 259082 URL: http://svnweb.freebsd.org/changeset/base/259082 Log: Make more unsigned ints signed. Found by: clang (powerpc64) MFC after: 1 week Modified: head/sys/dev/iicbus/ds1631.c head/sys/dev/iicbus/ds1775.c head/sys/powerpc/powermac/platform_powermac.c Modified: head/sys/dev/iicbus/ds1631.c ============================================================================== --- head/sys/dev/iicbus/ds1631.c Sat Dec 7 22:18:36 2013 (r259081) +++ head/sys/dev/iicbus/ds1631.c Sat Dec 7 22:25:07 2013 (r259082) @@ -398,7 +398,7 @@ ds1631_sensor_sysctl(SYSCTL_HANDLER_ARGS device_t dev; struct ds1631_softc *sc; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); Modified: head/sys/dev/iicbus/ds1775.c ============================================================================== --- head/sys/dev/iicbus/ds1775.c Sat Dec 7 22:18:36 2013 (r259081) +++ head/sys/dev/iicbus/ds1775.c Sat Dec 7 22:25:07 2013 (r259082) @@ -257,7 +257,7 @@ ds1775_sensor_sysctl(SYSCTL_HANDLER_ARGS device_t dev; struct ds1775_softc *sc; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); Modified: head/sys/powerpc/powermac/platform_powermac.c ============================================================================== --- head/sys/powerpc/powermac/platform_powermac.c Sat Dec 7 22:18:36 2013 (r259081) +++ head/sys/powerpc/powermac/platform_powermac.c Sat Dec 7 22:25:07 2013 (r259082) @@ -219,7 +219,8 @@ powermac_timebase_freq(platform_t plat, static int powermac_smp_fill_cpuref(struct cpuref *cpuref, phandle_t cpu) { - cell_t cpuid, res; + cell_t cpuid; + int res; cpuref->cr_hwref = cpu; res = OF_getprop(cpu, "reg", &cpuid, sizeof(cpuid));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312072225.rB7MP7Kv054771>