Tag: 14834540cafff24944affd6290f01359799a48ce

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

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function sh_sir_probe() return 0 for success and negative value for most of its internal tests failures. There are two exceptions that are error cases going to err_mem_*:. For this two cases, the function abort its success execution path, but returns non negative value, making it dificult for a caller …

Continue reading