Tag: 2dfc96719187d3cb632922a9455abd008db467eb

drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c: fix error return code

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

Continue reading