Tag: 8c65ef4b8a21ab7edc7f35bb9a3892b0051b0158

drivers/net/ethernet/sun/niu.c: fix error return code

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

Continue reading