From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756197AbbCSOFs (ORCPT ); Thu, 19 Mar 2015 10:05:48 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48224 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbbCSOFn (ORCPT ); Thu, 19 Mar 2015 10:05:43 -0400 Date: Thu, 19 Mar 2015 15:05:40 +0100 From: Greg Kroah-Hartman To: Brian Russell Cc: "Hans J. Koch" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5] uio: Fix uio driver to refcount device Message-ID: <20150319140540.GB7046@kroah.com> References: <550AD1D7.8060707@brocade.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <550AD1D7.8060707@brocade.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 19, 2015 at 01:40:39PM +0000, Brian Russell wrote: > Protect uio driver from its owner being unplugged while there are open fds. > > v5: add patch version changes > > v4: info struct passed in uio_register_device can be freed on unregister, so null > out the field in uio_unregister_device and check accesses. > > v3: Embed struct device in struct uio_device, use refcounting on device, free > uio_device on release. > > v2: Add blank line to header These need to go below the --- line, we don't need them in the changelog. v6? :) thanks, greg k-h