From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 01:36:48 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34C7F106566C for ; Thu, 11 Mar 2010 01:36:48 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id B30AC8FC1C for ; Thu, 11 Mar 2010 01:36:47 +0000 (UTC) Received: by fxm23 with SMTP id 23so7824060fxm.3 for ; Wed, 10 Mar 2010 17:36:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=yIBAZGKzq4+NYtElnkOGxm0u+IA9/+B3hnemjFuBS54=; b=ZsdkkGMQ2c9PApW714LEnan6U+NmLuHD7bYmc7wPLVu6Yhp6VKeBv4D4cLFVsJA4cC vBL1jqDRuRH5JgLpkw58abB/La4LtmenWqrJDyxHkiuHHLYzfktYGD8Y3xm3ap7OxKPw 2VeiB2yNkWSQusFFGBRXDVpuCH1xVcqAnm0so= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=i6rBfVNupud5tIwazG0FxPDLsLwWrqSV9R9N2jfH7KRJ1jPiING112x0A6EiuUJdTF wpdnjxdza/KY9DdSQ7YLzjZH8+1sHFoBnKWhWDS6etfPKAyfKpaM64tAdrMYU4MAnBHM zySc1U/SOASOCirRjzx5jVGNH+4zpkLDYOYAY= Received: by 10.223.6.150 with SMTP id 22mr2685763faz.12.1268271406327; Wed, 10 Mar 2010 17:36:46 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id c28sm15268119fka.14.2010.03.10.17.36.44 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Mar 2010 17:36:45 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 10 Mar 2010 17:36:57 -0800 From: Weongyo Jeong Date: Wed, 10 Mar 2010 17:36:57 -0800 To: Michael Butler Message-ID: <20100311013657.GX1295@weongyo> Mail-Followup-To: Michael Butler , freebsd-current References: <4B983B64.1040005@protected-networks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B983B64.1040005@protected-networks.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-current Subject: Re: sys/dev/siba/siba_core.c fails compilation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 01:36:48 -0000 On Wed, Mar 10, 2010 at 07:37:56PM -0500, Michael Butler wrote: > If compiling -current without debugging enabled, this module fails with > a warning about unused variables (warnings treated as errors). > > The attached patch allows compilation to proceed although I'm not > convinced that it's entirely correct (duplicate evaluation of > device_get_ivars()), Your patch is committed at r204992. Thank you! regards, Weongyo Jeong