Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 702ce0c5 authored by Stefan Wahren's avatar Stefan Wahren Committed by Liangliang Lu
Browse files

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: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarRaghuram Chary Jallipalli <raghuramchary.jallipalli@microchip.com>
Signed-off-by: default avatarDavid 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: default avatarLiangliang Lu <luliang@codeaurora.org>
parent 0a7f7065
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment