Tag: 812b074b5ba2937d2edc0e5b0019fa163ba86882

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

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function sh_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