commit | 06bc4d0079ab6a2de86f56703ce1bd13e90b9d9d | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Tue Nov 13 18:42:24 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 16 19:46:49 2018 -0800 |
tree | 559f53c9b83141ae37eb32b6616176209317416e | |
parent | 761f60261b4401aa368d71d431b4c218af0efcee [diff] |
net: lantiq: Fix returned value in case of error in 'xrx200_probe()' 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@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>