From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756632AbbLGW3r (ORCPT ); Mon, 7 Dec 2015 17:29:47 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:51879 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756459AbbLGW3p (ORCPT ); Mon, 7 Dec 2015 17:29:45 -0500 From: "Rafael J. Wysocki" To: Andy Shevchenko Cc: Greg Kroah-Hartman , Andy Shevchenko , "linux-acpi@vger.kernel.org" , Vinod Koul , dmaengine , Thomas Gleixner , Jarkko Nikula , "linux-kernel@vger.kernel.org" , Mika Westerberg Subject: Re: [PATCH v3 1/9] device core: add BUS_NOTIFY_DRIVER_NOT_BOUND notification Date: Mon, 07 Dec 2015 23:59:42 +0100 Message-ID: <1633564.Gyf7bPvX3K@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1449485853.15393.193.camel@linux.intel.com> References: <1449265765-9393-1-git-send-email-andriy.shevchenko@linux.intel.com> <3490462.ARevfiQkZD@vostro.rjw.lan> <1449485853.15393.193.camel@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, December 07, 2015 12:57:33 PM Andy Shevchenko wrote: > On Mon, 2015-12-07 at 02:31 +0100, Rafael J. Wysocki wrote: > > On Saturday, December 05, 2015 08:36:22 AM Greg Kroah-Hartman wrote: > > > On Sat, Dec 05, 2015 at 06:24:05PM +0200, Andy Shevchenko wrote: > > > > On Sat, Dec 5, 2015 at 6:14 PM, Greg Kroah-Hartman > > > > wrote: > > > > > On Fri, Dec 04, 2015 at 11:49:17PM +0200, Andy Shevchenko > > > > > wrote: > > > > > > The users of BUS_NOTIFY_BIND_DRIVER have no chance to do any > > > > > > cleanup in case of > > > > > > a probe failure. In the result there might be problems, such > > > > > > as some resources > > > > > > that had been allocated will continue to be allocated and > > > > > > therefore lead to a > > > > > > resource leak. > > > > > > > > > > > > Introduce a new notification to inform the subscriber that > > > > > > ->probe() failed. Do > > > > > > the same in case of failed device_bind_driver() call. > > > > > > > > > > Ugh, I hate all these notifiers, but this one does make > > > > > sense... > > > > > > > > Yeah, I'm not a fan of them either. > > > > > > > > > Signed-off-by: Greg Kroah-Hartman > > > > > > > > You meant Acked-by, didn't you? > > > > > > Either works :) > > > > Thanks! > > > > Andy, what about if I put patches [1-6/9] into my queue for v4.5 now > > and > > the remaining ones will wait for Vinod to comment? > > Yes, it's possible, but please don't forget the patch from http://www.s > pinics.net/lists/kernel/msg2119229.html. There also formally Acks from > Thomas and Ong, Boon Leong. Well, if Thomas prefers to take this one into tip, I guess the series should go along with it or wait for when that one is merged. Thanks, Rafael