summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-11-04 12:00:46 +0100
committerJean Delvare <khali@endymion.delvare>2011-11-04 12:00:46 +0100
commit547a1c99d0052c8bee0a8fe4091e6a9094c3cde3 (patch)
tree59b992509ab6c0a24df9f0391e1f974ff6269c6f /virt
parent24d6e2a89a1ff0a035f163a83a2812a3192083b6 (diff)
downloadlinux-547a1c99d0052c8bee0a8fe4091e6a9094c3cde3.tar.bz2
hwmon: (ibmaem) Fix error paths
I am under the impression that error paths in functions aem_init_aem1_inst() and aem_init_aem2_inst() are incorrect. In several cases, the function returns 0 on error, which I suspect is not intended. Fix this by properly tracking error codes. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Darrick J. Wong <djwong@us.ibm.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions