From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755829AbbCSOLV (ORCPT ); Thu, 19 Mar 2015 10:11:21 -0400 Received: from mx0a-000f0801.pphosted.com ([67.231.144.122]:39952 "EHLO mx0a-000f0801.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751752AbbCSOLT (ORCPT ); Thu, 19 Mar 2015 10:11:19 -0400 Message-ID: <550AD8FB.2030901@brocade.com> Date: Thu, 19 Mar 2015 14:11:07 +0000 From: Brian Russell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Greg Kroah-Hartman , Brian Russell CC: "Hans J. Koch" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v5] uio: Fix uio driver to refcount device References: <550AD1D7.8060707@brocade.com> <20150319140540.GB7046@kroah.com> In-Reply-To: <20150319140540.GB7046@kroah.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-03-05_07:2015-03-05,2015-03-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1503050223 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/03/15 14:05, Greg Kroah-Hartman wrote: > 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? :) > Urgh! On its way :-) Brian > thanks, > > greg k-h >