Re: [PATCH] net: lantiq: Fix returned value in case of error in 'xrx200_probe()'
From: David Miller
Date: Fri Nov 16 2018 - 22:47:43 EST
From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Tue, 13 Nov 2018 18:42:24 +0100
> Return 'err' in the error handling path instead of 0.
> Return explicitly 0 in the normal path, instead of 'err', which is known
> to be 0 at this point.
>
> Fixes: fe1a56420cf2 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Applied.