From owner-svn-src-head@FreeBSD.ORG Mon Feb 27 18:10:28 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B80CA106577E; Mon, 27 Feb 2012 18:10:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 515EE8FC0A; Mon, 27 Feb 2012 18:10:28 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 097B346B4C; Mon, 27 Feb 2012 13:10:28 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 670DFB99E; Mon, 27 Feb 2012 13:10:27 -0500 (EST) From: John Baldwin To: Alexey Dokuchaev Date: Mon, 27 Feb 2012 12:12:43 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <201202271608.q1RG8Iaj025685@svn.freebsd.org> <20120227162803.GA85675@FreeBSD.org> In-Reply-To: <20120227162803.GA85675@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <201202271212.43914.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 27 Feb 2012 13:10:27 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r232218 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 18:10:28 -0000 On Monday, February 27, 2012 11:28:03 am Alexey Dokuchaev wrote: > On Mon, Feb 27, 2012 at 04:08:18PM +0000, John Baldwin wrote: > > Author: jhb > > Date: Mon Feb 27 16:08:18 2012 > > New Revision: 232218 > > URL: http://svn.freebsd.org/changeset/base/232218 > > > > Log: > > Clear the a device's description string anytime it's driver changes. > > Descriptions are specific to drivers and we don't change drivers on attached > > devices. This fixes a few places where we were not clearing the description > > when detaching a driver (e.g. with device_attach() failed). While here, fix > > a few other nits: > > - Remove spurious call to remove a device's driver from > > devclass_driver_deleted(). device_detach() removes it already. > > - Fix a typo. > > Thanks John, > > Please MFC it at least as far as RELENG_8. Oh, whoops, I forgot to add 'MFC after'. I will MFC it. -- John Baldwin