From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Date: Sun, 05 Nov 2017 07:30:13 +0000 Subject: Re: [PATCH] USB: core: Improve unlocking of a mutex in two functions Message-Id: <20171105073013.GA1431@kroah.com> List-Id: References: <0ff5f74e-ae23-5c97-8998-0e598ceae96b@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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" 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