smsc95xx: check return value of smsc95xx_reset
The return value of the function smsc95xx_reset() must be checked to avoid returning false success from the function smsc95xx_bind(). Fixes: 2f7ca802 ("net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver") Signed-off-by: NAndre Edich <andre.edich@microchip.com> Signed-off-by: NParthiban Veerasooran <Parthiban.Veerasooran@microchip.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录