Re: [PATCH] phylink: Use common error handling code in phylink_create()

From: Florian Fainelli
Date: Sat Oct 28 2017 - 17:09:47 EST




On 10/28/2017 01:00 PM, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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 <elfring@xxxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian