From owner-freebsd-current Fri Nov 15 12:15: 5 2002 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 BD5A637B401; Fri, 15 Nov 2002 12:15:03 -0800 (PST) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF9A943E4A; Fri, 15 Nov 2002 12:15:02 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA36300; Fri, 15 Nov 2002 12:05:22 -0800 (PST) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gAFK5MOS036690; Fri, 15 Nov 2002 12:05:22 -0800 (PST) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gAFK5MRL036689; Fri, 15 Nov 2002 12:05:22 -0800 (PST) From: Archie Cobbs Message-Id: <200211152005.gAFK5MRL036689@arch20m.dellroad.org> Subject: Re: alpha tinderbox failure In-Reply-To: <200211151138.gAFBctWM023811@beast.freebsd.org> To: current@FreeBSD.ORG Date: Fri, 15 Nov 2002 12:05:22 -0800 (PST) Cc: grog@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > ===> vinum > "Makefile", line 4441: warning: duplicate script for target "geom_bsd.o" ignored > cc1: warnings being treated as errors > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c: In function `ahd_ddb_in': > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c:1931: warning: unsigned int format, different type arg (arg 2) > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c: In function `ahd_ddb_out': > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c:1991: warning: unsigned int format, different type arg (arg 2) > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c:1991: warning: unsigned int format, different type arg (arg 4) > /h/des/src/sys/dev/aic7xxx/aic79xx_osm.c:1991: warning: unsigned int format, different type arg (arg 5) > *** Error code 1 I'm getting tired of this email. Any objections to the patch below? -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com Index: aic79xx_osm.c =================================================================== RCS file: /home/ncvs/src/sys/dev/aic7xxx/aic79xx_osm.c,v retrieving revision 1.3 diff -u -r1.3 aic79xx_osm.c --- aic79xx_osm.c 31 Aug 2002 06:51:15 -0000 1.3 +++ aic79xx_osm.c 15 Nov 2002 20:01:24 -0000 @@ -1927,7 +1927,7 @@ if (count <= 0) count = 1; while (--count >= 0) { - db_printf("%04x (M)%x: \t", addr, + db_printf("%04lx (M)%x: \t", (u_long)addr, ahd_inb(ahd_ddb_softc, MODE_PTR)); switch (size) { case 1: @@ -1986,9 +1986,9 @@ ahd_outl(ahd_ddb_softc, addr, new_value); break; } - db_printf("%04x (M)%x: \t0x%x\t=\t0x%x", - addr, ahd_inb(ahd_ddb_softc, MODE_PTR), - old_value, new_value); + db_printf("%04lx (M)%x: \t0x%lx\t=\t0x%lx", + (u_long)addr, ahd_inb(ahd_ddb_softc, MODE_PTR), + (u_long)old_value, (u_long)new_value); addr += size; } db_skip_to_eol(); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message