Date: Thu, 5 May 2005 17:09:07 +0800 From: Xin LI <delphij@frontfree.net> To: FreeBSD Tinderbox <tinderbox@freebsd.org> Cc: current@freebsd.org Subject: Re: [current tinderbox] failure on amd64/amd64 Message-ID: <20050505090907.GA41071@frontfree.net> In-Reply-To: <20050505084428.A12D07306E@freebsd-current.sentex.ca> References: <20050505084428.A12D07306E@freebsd-current.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <delphij frontfree net> 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 <sys/bus.h> #include <sys/rman.h> =20 +#include <machine/_inttypes.h> #include <machine/stdarg.h> =20 #include <net80211/ieee80211_var.h> @@ -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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505090907.GA41071>