From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736AbdJ1VIz (ORCPT ); Sat, 28 Oct 2017 17:08:55 -0400 Received: from mail-yw0-f175.google.com ([209.85.161.175]:50603 "EHLO mail-yw0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbdJ1VIx (ORCPT ); Sat, 28 Oct 2017 17:08:53 -0400 X-Google-Smtp-Source: ABhQp+TF/IXaaxWrbBnTqCw+YX3gZK52ZqB/O7Ur7rDaO+yQ7gs2ZwJAmjxEeySeaJtIozJ7I/hThA== Subject: Re: [PATCH] phylink: Use common error handling code in phylink_create() To: SF Markus Elfring , netdev@vger.kernel.org, Andrew Lunn , "David S. Miller" , Russell King Cc: LKML , kernel-janitors@vger.kernel.org References: From: Florian Fainelli Message-ID: <60594e3d-c8ec-16a0-1fec-3fc854334321@gmail.com> Date: Sat, 28 Oct 2017 14:08:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/28/2017 01:00 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 28 Oct 2017 21:48:31 +0200 > > * Add a jump target so that a bit of exception handling can be better > reused at the end of this function. > > * Adjust three condition checks. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Reviewed-by: Florian Fainelli -- Florian