diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-07 02:14:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-08 13:13:29 -0700 |
commit | 59b626e1af009e8b81b7944a212c7247418b815d (patch) | |
tree | 4042c8cd0991f8057b234985c31eb0558afbb6aa /drivers/net/ethernet/toshiba/spider_net.c | |
parent | 058112c7efc9ef43bb511c137293dddbe6e42908 (diff) | |
download | linux-59b626e1af009e8b81b7944a212c7247418b815d.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/ethernet/toshiba/spider_net.c')
0 files changed, 0 insertions, 0 deletions