From owner-freebsd-current@FreeBSD.ORG Thu May 5 09:09:35 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4768D16A4CE; Thu, 5 May 2005 09:09:35 +0000 (GMT) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85EE543DA1; Thu, 5 May 2005 09:09:33 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from beastie.frontfree.net (unknown [219.239.99.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 58FA9EB22AD; Thu, 5 May 2005 17:09:21 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 5896A1312B0; Thu, 5 May 2005 17:09:14 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38007-18; Thu, 5 May 2005 17:09:08 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 7E54813113D; Thu, 5 May 2005 17:09:07 +0800 (CST) Date: Thu, 5 May 2005 17:09:07 +0800 From: Xin LI To: FreeBSD Tinderbox Message-ID: <20050505090907.GA41071@frontfree.net> References: <20050505084428.A12D07306E@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: <20050505084428.A12D07306E@freebsd-current.sentex.ca> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #15: Wed Dec 15 10:43:16 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: amd64@freebsd.org cc: wpaul@FreeBSD.org cc: current@freebsd.org Subject: Re: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 09:09:35 -0000 --gatW/ieO32f1wygP Content-Type: multipart/mixed; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 05, 2005 at 04:44:28AM -0400, FreeBSD Tinderbox wrote: > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi= nc -I- -include /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURREN= T/amd64/amd64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../= include -finline-limit=3D8000 -fno-common -g -fno-omit-frame-pointer -I/tin= derbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/= GENERIC -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 = -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreesta= nding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissi= ng-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -st= d=3Dc99 -c /tinderbox/CURRENT/amd64/amd64/src/sys/modules/ndis/../../compat= /ndis/subr_pe.c > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdi= nc -I- -include /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURREN= T/amd64/amd64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../= include -finline-limit=3D8000 -fno-common -g -fno-omit-frame-pointer -I/tin= derbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/= GENERIC -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 = -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreesta= nding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissi= ng-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -st= d=3Dc99 -c /tinderbox/CURRENT/amd64/amd64/src/sys/modules/ndis/../../compat= /ndis/subr_ndis.c > /tinderbox/CURRENT/amd64/amd64/src/sys/modules/ndis/../../compat/ndis/sub= r_ndis.c: In function `NdisMFreeSharedMemory': > /tinderbox/CURRENT/amd64/amd64/src/sys/modules/ndis/../../compat/ndis/sub= r_ndis.c:1710: warning: long long unsigned int format, uint64_t arg (arg 3) Maybe we should make use of the PRIx64 macro? (see patch attached) Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-ndis Content-Transfer-Encoding: quoted-printable Index: subr_ndis.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/compat/ndis/subr_ndis.c,v retrieving revision 1.87 diff -u -r1.87 subr_ndis.c --- subr_ndis.c 5 May 2005 04:16:13 -0000 1.87 +++ subr_ndis.c 5 May 2005 09:02:54 -0000 @@ -90,6 +90,7 @@ #include #include =20 +#include #include =20 #include @@ -1706,7 +1707,8 @@ =20 if (sh =3D=3D NULL) { printf("NDIS: buggy driver tried to free " - "invalid shared memory: vaddr: %p paddr: 0x%qx\n", + "invalid shared memory: vaddr: %p paddr: " + "0x%" PRIx64 "\n", vaddr, paddr.np_quad); return; } --LZvS9be/3tNcYl/X-- --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCeeKz/cVsHxFZiIoRApKTAJ9ng9EnapbWyieIUpFW5FcHmkaf6gCbBEcY pQVNjnnij3u/qeN1KBHGfWQ= =tVFz -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--