Tag: cbd841ca91b4f87d62263f8d86af1b14a745c413

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

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

Continue reading