From owner-svn-src-head@FreeBSD.ORG Sat Dec 7 19:55:35 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E610D19; Sat, 7 Dec 2013 19:55:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A77F1587; Sat, 7 Dec 2013 19:55:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB7JtZM0001795; Sat, 7 Dec 2013 19:55:35 GMT (envelope-from jhibbits@svn.freebsd.org) Received: (from jhibbits@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB7JtYNH001792; Sat, 7 Dec 2013 19:55:34 GMT (envelope-from jhibbits@svn.freebsd.org) Message-Id: <201312071955.rB7JtYNH001792@svn.freebsd.org> From: Justin Hibbits Date: Sat, 7 Dec 2013 19:55:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259080 - in head/sys: dev/iicbus geom/cache geom/journal X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 19:55:35 -0000 Author: jhibbits Date: Sat Dec 7 19:55:34 2013 New Revision: 259080 URL: http://svnweb.freebsd.org/changeset/base/259080 Log: Fix some integer signs. These unsigned integers should all be signed. Found by: clang (powerpc64) Modified: head/sys/dev/iicbus/max6690.c head/sys/geom/cache/g_cache.c head/sys/geom/journal/g_journal.c Modified: head/sys/dev/iicbus/max6690.c ============================================================================== --- head/sys/dev/iicbus/max6690.c Sat Dec 7 19:39:38 2013 (r259079) +++ head/sys/dev/iicbus/max6690.c Sat Dec 7 19:55:34 2013 (r259080) @@ -362,7 +362,7 @@ max6690_sensor_sysctl(SYSCTL_HANDLER_ARG struct max6690_softc *sc; struct max6690_sensor *sens; int error; - unsigned int temp; + int temp; dev = arg1; sc = device_get_softc(dev); Modified: head/sys/geom/cache/g_cache.c ============================================================================== --- head/sys/geom/cache/g_cache.c Sat Dec 7 19:39:38 2013 (r259079) +++ head/sys/geom/cache/g_cache.c Sat Dec 7 19:55:34 2013 (r259080) @@ -67,7 +67,7 @@ static u_int g_cache_used_hi = 20; static int sysctl_handle_pct(SYSCTL_HANDLER_ARGS) { - u_int val = *(u_int *)arg1; + int val; int error; error = sysctl_handle_int(oidp, &val, 0, req); Modified: head/sys/geom/journal/g_journal.c ============================================================================== --- head/sys/geom/journal/g_journal.c Sat Dec 7 19:39:38 2013 (r259079) +++ head/sys/geom/journal/g_journal.c Sat Dec 7 19:55:34 2013 (r259080) @@ -168,7 +168,7 @@ SYSCTL_UINT(_kern_geom_journal_cache, OI static int g_journal_cache_switch_sysctl(SYSCTL_HANDLER_ARGS) { - u_int cswitch; + int cswitch; int error; cswitch = g_journal_cache_switch;