diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-13 06:05:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-13 21:34:22 (GMT) |
commit | 465ff28db720d99d885ee9cd70af487745ea4a5a (patch) | |
tree | 23ca99a875291533687878808dc62203510cb589 /drivers/staging/comedi/proc.c | |
parent | 70d52bce5523f2c6a7bf3f9a54dacc0be112a3e8 (diff) | |
download | linux-465ff28db720d99d885ee9cd70af487745ea4a5a.tar.xz |
staging: vme: fix error return code in vme_user_probe()
Fix to return -ENOMEM in the resource alloc error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/proc.c')
0 files changed, 0 insertions, 0 deletions