From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752005AbdKEHaC (ORCPT ); Sun, 5 Nov 2017 02:30:02 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:40270 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbdKEHaB (ORCPT ); Sun, 5 Nov 2017 02:30:01 -0500 Date: Sun, 5 Nov 2017 08:30:13 +0100 From: Greg Kroah-Hartman To: Geert Uytterhoeven Cc: SF Markus Elfring , USB list , Alan Stern , Eugene Korenevsky , =?iso-8859-1?Q?G=FCnter_R=F6ck?= , Jaejoong Kim , Johan Hovold , Jonathan Corbet , Mathias Nyman , Mauro Carvalho Chehab , LKML , "kernel-janitors@vger.kernel.org" Subject: Re: [PATCH] USB: core: Improve unlocking of a mutex in two functions Message-ID: <20171105073013.GA1431@kroah.com> References: <0ff5f74e-ae23-5c97-8998-0e598ceae96b@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 05, 2017 at 12:25:19AM +0100, Geert Uytterhoeven wrote: > On Sat, Nov 4, 2017 at 9:12 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > > Date: Sat, 4 Nov 2017 21:00:46 +0100 > > > > * Add jump targets so that a call of the function "mutex_unlock" is stored > > only twice in these function implementations. > > > > * Replace five calls by goto statements. > > > > This issue was detected by using the Coccinelle software. > > > > Signed-off-by: Markus Elfring > > NAKed-by: Geert Uytterhoeven Don't worry, or waste your time, I don't take patches from this author as they are in my blacklist. greg k-h