Tag: 87286477c4688e5324e24916a1b2da4972ea84ba

drivers/net/irda/irtty-sir.c: fix error return code

Author: Peter Senna Tschudin <peter.senna@gmail.com> The function irtty_open() return 0 for success and negative value for most of its internal tests failures. There is one exception that is error case going to out_put:. For this error case, the function abort its success execution path, but returns non negative value, making it difficult for a caller …

Continue reading