commit | 59b626e1af009e8b81b7944a212c7247418b815d | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue May 07 02:14:33 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 08 13:13:29 2013 -0700 |
tree | 4042c8cd0991f8057b234985c31eb0558afbb6aa | |
parent | 058112c7efc9ef43bb511c137293dddbe6e42908 [diff] |
net/irda: fix error return code in bfin_sir_open() Fix to return -ENOMEM in the irlap_open() error handling case instead of 0(overwrite to 0 by bfin_sir_startup()), as done elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>