]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rts5208: fix error return code in rtsx_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 27 Nov 2013 00:38:19 +0000 (08:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:03:20 +0000 (09:03 -0800)
commit7d4c0318f121bbba25d76fddd2f5ba3c01f318a6
tree244dcc9972f982d8bd7bef7c1a1b28260f5e95cc
parent6bf2e2a59769264f40c75a31b07603faab9460b5
staging: rts5208: fix error return code in rtsx_probe()

Fix to return -ENOMEM instead of 0 when the memory alloc fail
in probe error handling path.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c