Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2002 19:08:18 -0500
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        current@freebsd.org
Cc:        emoore@freebsd.org
Subject:   Re: =?iso-8859-1?Q?GENERIC_b=F3rken=2E=2E=2E?=
Message-ID:  <20021031190818.A36608@attbi.com>
In-Reply-To: <99908.1036066898@critter.freebsd.dk>; from phk@freebsd.org on Thu, Oct 31, 2002 at 01:21:38PM %2B0100
References:  <99908.1036066898@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 31, 2002 at 01:21:38PM +0100, Poul-Henning Kamp wrote:
> ffreestanding -Werror  /usr/src/sys/dev/amr/amr.c
> cc1: warnings being treated as errors
> /usr/src/sys/dev/amr/amr.c: In function `amr_setup_ccbmap':
> /usr/src/sys/dev/amr/amr.c:1055: warning: initialization from incompatible point
> er type
> *** Error code 1


It's a good practice to compile things before checking them in.



--- amr.c.orig	Thu Oct 31 18:19:32 2002
+++ amr.c	Thu Oct 31 18:19:59 2002
@@ -1052,7 +1052,7 @@
     struct amr_softc            *sc = ac->ac_sc;
     struct amr_sgentry          *sg;
     struct amr_passthrough      *ap = (struct amr_passthrough *)ac->ac_data;
-    struct amr_ext_passthrough	*aep = (struct amr_passthrough *)ac->ac_data;
+    struct amr_ext_passthrough	*aep = (struct amr_ext_passthrough *)ac->ac_data;
     int                         i;
 
     /* get base address of s/g table */





-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021031190818.A36608>