net: lan78xx: Bail out if lan78xx_get_endpoints fails
We need to bail out if lan78xx_get_endpoints() fails, otherwise the result is overwritten. Change-Id: If3e62a87653870e5174136d0e360cfa2b746b9cb Fixes: 55d7de9d ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet") Signed-off-by:Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by:
Raghuram Chary Jallipalli <raghuramchary.jallipalli@microchip.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Git-commit: fa8cd98c06407b5798b927cd7fd14d30f360ed02 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git Signed-off-by:
Liangliang Lu <luliang@codeaurora.org>
Loading
Please register or sign in to comment