diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-04 16:44:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 21:54:08 +0200 |
commit | 29ddae2a40883640941932f73eb3d15535c3f4a2 (patch) | |
tree | 9d26271f7af9fcb6d9ce80cd39936c126c860820 /security | |
parent | misc: replace strict_strtoul() with kstrtoul() (diff) | |
download | linux-29ddae2a40883640941932f73eb3d15535c3f4a2.tar.xz linux-29ddae2a40883640941932f73eb3d15535c3f4a2.zip |
pch_phub: fix error return code in pch_phub_probe()
Error code had been assigned to retval in some error handling case
but never use it, 0 is always returned in those case, this patch
fix them to return a negative error code.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions