Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752748AbcC3Xik (ORCPT ); Wed, 30 Mar 2016 19:38:40 -0400 Received: from lists.s-osg.org ([54.187.51.154]:59378 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbcC3Xii (ORCPT ); Wed, 30 Mar 2016 19:38:38 -0400 Subject: Re: [PATCH] regulator: Fix deadlock during regulator registration To: Mark Brown References: <1459354153-6352-1-git-send-email-jonathanh@nvidia.com> <56FC607D.3020108@osg.samsung.com> <20160330233427.GZ2350@sirena.org.uk> Cc: Jon Hunter , Liam Girdwood , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org From: Javier Martinez Canillas Message-ID: <56FC6375.4060607@osg.samsung.com> Date: Wed, 30 Mar 2016 19:38:29 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160330233427.GZ2350@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 24 Hello Mark, On 03/30/2016 07:34 PM, Mark Brown wrote: > On Wed, Mar 30, 2016 at 07:25:49PM -0400, Javier Martinez Canillas wrote: > >> You are doing some cleanup of the clean and scrub error paths by removing >> rdev and returning ERR_PTR(ret) directly. I believe that should be in a >> separate patch since is not related to the fix. > > There needs to be some reorganization due to the movement with the mutex > handling. > Yes, I know. My point was that besides the reorganization that is needed, he is removing some variables and that seemed like a separate change to me. But of course you are the maintainer so ignore my comment if you don't mind about that. Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America