From owner-freebsd-current@FreeBSD.ORG Mon Jun 8 23:50:52 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CE7C1065672; Mon, 8 Jun 2009 23:50:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA0E8FC13; Mon, 8 Jun 2009 23:50:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 477065C025; Tue, 9 Jun 2009 07:50:51 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 1367155CDB90; Tue, 9 Jun 2009 07:50:51 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id IlW5ZSVGKTeH; Tue, 9 Jun 2009 07:50:00 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 5DAE255CDB8E; Tue, 9 Jun 2009 07:49:53 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=wYR4CY0oDBAF5uPxuiFKuSTrFJYCuc09TmjZclfNLXmHYA8qyr7ERgAtL0rlUbp9M je0XjRVfcJ1l9i4yCNLSw== Message-ID: <4A2DA390.3090704@delphij.net> Date: Mon, 08 Jun 2009 16:49:36 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090408) MIME-Version: 1.0 To: FreeBSD Tinderbox References: <20090608224516.547F17302F@freebsd-current.sentex.ca> In-Reply-To: <20090608224516.547F17302F@freebsd-current.sentex.ca> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------080305080905050101040406" Cc: net@freebsd.org, current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2009 23:50:53 -0000 This is a multi-part message in MIME format. --------------080305080905050101040406 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 FreeBSD Tinderbox wrote: > cc1: warnings being treated as errors > /src/sys/net/if_gif.c: In function 'gif_ioctl': > /src/sys/net/if_gif.c:918: warning: cast to pointer from integer of different size > *** Error code 1 > > Stop in /obj/sparc64/src/sys/LINT. > *** Error code 1 The attached patch should fix this, any objections? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoto48ACgkQi+vbBBjt66C98ACgvgafjQZ/MU01V8ftN6ZI9/1U xB0AoKZipqyI0JYmBkMGNsEEYp8A0VVl =3o5u -----END PGP SIGNATURE----- --------------080305080905050101040406 Content-Type: text/plain; name="if_gif.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_gif.c.diff" Index: if_gif.c =================================================================== --- if_gif.c (revision 193731) +++ if_gif.c (working copy) @@ -912,10 +912,10 @@ case GIFSOPTS: if ((error = priv_check(curthread, PRIV_NET_GIF)) != 0) break; - if ((error = copyin(&options, &sc->gif_options, - sizeof(sc->gif_options)))) { + if ((error = copyin(ifr->ifr_data, &options, + sizeof(options)))) { if ((options | GIF_FULLOPTS) == GIF_FULLOPTS) - ifr->ifr_data = (caddr_t)options; + sc->gif_options = options; else error = EINVAL; } --------------080305080905050101040406--