From owner-svn-src-head@FreeBSD.ORG Mon Feb 27 16:28:03 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 610061065672; Mon, 27 Feb 2012 16:28:03 +0000 (UTC) Date: Mon, 27 Feb 2012 16:28:03 +0000 From: Alexey Dokuchaev To: John Baldwin Message-ID: <20120227162803.GA85675@FreeBSD.org> References: <201202271608.q1RG8Iaj025685@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201202271608.q1RG8Iaj025685@svn.freebsd.org> User-Agent: Mutt/1.4.2.1i 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 16:28:03 -0000 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. ./danfe