RE: [PATCH 1/4 next] net: lan78xx: Bail out if lan78xx_get_endpoints fails

From: RaghuramChary.Jallipalli
Date: Tue Sep 04 2018 - 00:20:28 EST


> We need to bail out if lan78xx_get_endpoints() fails, otherwise the result is
> overwritten.
>
> Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000
> Ethernet")
> Signed-off-by: Stefan Wahren <stefan.wahren@xxxxxxxx>

Reviewed-by: Raghuram Chary Jallipalli <raghuramchary.jallipalli@xxxxxxxxxxxxx>

Thanks,
-Raghu