From: Wei Yongjun Date: Tue, 7 May 2013 02:14:33 +0000 (+0000) Subject: net/irda: fix error return code in bfin_sir_open() X-Git-Tag: v3.10-rc1~34^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b626e1af009e8b81b7944a212c7247418b815d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed