Tag: 6734011f3c9a17070f157656f8b15e051e37aee1

drivers/net/irda/mcs7780.c: fix error return code

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

Continue reading