Tag: 4df128341ed5728bc8d8f75709258967f8cc2f5f

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

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

Continue reading