Tag: cd9d11607ebe106acab6cf3ad578e72c956823a1

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

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

Continue reading