From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] CodingStyle: add some more error handling guidelines Date: Mon, 22 Aug 2016 22:31:46 +0300 Message-ID: <20160822222900-mutt-send-email-mst@kernel.org> References: <1471874251-7721-1-git-send-email-mst@redhat.com> <20160822081617.386db8cd@lwn.net> <20160822174355-mutt-send-email-mst@kernel.org> <20160822185006.GF4129@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20160822185006.GF4129@mwanda> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Dan Carpenter Cc: linux-doc@vger.kernel.org, Jonathan Corbet , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Julia Lawall List-Id: virtualization@lists.linuxfoundation.org On Mon, Aug 22, 2016 at 09:50:06PM +0300, Dan Carpenter wrote: > On Mon, Aug 22, 2016 at 05:53:02PM +0300, Michael S. Tsirkin wrote: > > The point is really naming label for the part of init that failed > > (and so needs to be skipped), rather than the part that will run. > > Naming labels after what "needs to be skipped" doesn't work. How does > that meaning make sense for err_cgroup in vhost_dev_set_owner()? What > needs to be skipped here? > > regards, > dan carpenter Nothing because we are destroying the thread, so we don't need to detach it. I guess I'm convinced it's not very consistent at this point. -- MST