From owner-svn-src-all@FreeBSD.ORG Thu Jan 8 06:29:53 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73F5FB7; Thu, 8 Jan 2015 06:29:53 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 461ABE51; Thu, 8 Jan 2015 06:29:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t086Tr3X077534; Thu, 8 Jan 2015 06:29:53 GMT (envelope-from dchagin@FreeBSD.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t086TroD077533; Thu, 8 Jan 2015 06:29:53 GMT (envelope-from dchagin@FreeBSD.org) Message-Id: <201501080629.t086TroD077533@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dchagin set sender to dchagin@FreeBSD.org using -f From: Dmitry Chagin Date: Thu, 8 Jan 2015 06:29:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r276812 - stable/10/sys/compat/linux X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 06:29:53 -0000 Author: dchagin Date: Thu Jan 8 06:29:52 2015 New Revision: 276812 URL: https://svnweb.freebsd.org/changeset/base/276812 Log: MFC r276511: Fix Clang warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign. Modified: stable/10/sys/compat/linux/linux_futex.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/compat/linux/linux_futex.c ============================================================================== --- stable/10/sys/compat/linux/linux_futex.c Thu Jan 8 06:24:43 2015 (r276811) +++ stable/10/sys/compat/linux/linux_futex.c Thu Jan 8 06:29:52 2015 (r276812) @@ -176,11 +176,12 @@ LIN_SDT_PROBE_DEFINE2(futex, linux_get_r LIN_SDT_PROBE_DEFINE1(futex, linux_get_robust_list, copyout_error, "int"); LIN_SDT_PROBE_DEFINE1(futex, linux_get_robust_list, return, "int"); LIN_SDT_PROBE_DEFINE3(futex, handle_futex_death, entry, "struct proc *", - "uint32_t *", "int"); + "uint32_t *", "unsigned int"); LIN_SDT_PROBE_DEFINE1(futex, handle_futex_death, copyin_error, "int"); LIN_SDT_PROBE_DEFINE1(futex, handle_futex_death, return, "int"); LIN_SDT_PROBE_DEFINE3(futex, fetch_robust_entry, entry, - "struct linux_robust_list **", "struct linux_robust_list **", "int *"); + "struct linux_robust_list **", "struct linux_robust_list **", + "unsigned int *"); LIN_SDT_PROBE_DEFINE1(futex, fetch_robust_entry, copyin_error, "int"); LIN_SDT_PROBE_DEFINE1(futex, fetch_robust_entry, return, "int"); LIN_SDT_PROBE_DEFINE1(futex, release_futexes, entry, "struct proc *"); @@ -1101,7 +1102,7 @@ linux_get_robust_list(struct thread *td, } static int -handle_futex_death(struct proc *p, uint32_t *uaddr, int pi) +handle_futex_death(struct proc *p, uint32_t *uaddr, unsigned int pi) { uint32_t uval, nval, mval; struct futex *f; @@ -1150,7 +1151,7 @@ retry: static int fetch_robust_entry(struct linux_robust_list **entry, - struct linux_robust_list **head, int *pi) + struct linux_robust_list **head, unsigned int *pi) { l_ulong uentry; int error;