Tag: 86e506e39909d356ca1c76c00022f3c64f5b7665

drivers/net/ethernet/amd/amd8111e.c: fix error return code

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function amd8111e_probe_one() 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_free_reg:. For this two cases, the function abort its success execution path, but returns non negative value, making it dificult for a caller …

Continue reading