Tag: 0bd8ba18b9384e1c9104eee1d912fd5c8b4234c0

drivers/net/ethernet/marvell/sky2.c: fix error return code

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function sky2_probe() return 0 for success and negative value for most of its internal tests failures. There are two exceptions that are error cases going to err_out*:. For this two cases, the function abort its success execution path, but returns non negative value, making it dificult for a caller …

Continue reading