> 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