From owner-freebsd-current Thu Oct 31 5:45:47 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 8C0C137B407; Thu, 31 Oct 2002 05:45:43 -0800 (PST) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB0B43E6E; Thu, 31 Oct 2002 05:45:42 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id gA108J1K036813; Thu, 31 Oct 2002 19:08:20 -0500 (EST) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id gA108IKG036812; Thu, 31 Oct 2002 19:08:18 -0500 (EST) Date: Thu, 31 Oct 2002 19:08:18 -0500 From: Craig Rodrigues 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> References: <99908.1036066898@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <99908.1036066898@critter.freebsd.dk>; from phk@freebsd.org on Thu, Oct 31, 2002 at 01:21:38PM +0100 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 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