Tag: 52428d9169f8b4c26e806fb7473833bce3077de5

drivers/net/ethernet/natsemi/natsemi.c: fix error return code

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function natsemi_probe1() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to err_create_file:. Fore this error case the function abort its success execution path, but returns non negative value, making it difficult for a caller …

Continue reading