On Sat, Aug 20, 2011 at 08:56:35AM -0400, Jean Delvare wrote: > From: Jean Delvare <khali@xxxxxxxxxxxx> > Subject: 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@xxxxxxxxxxxx> > Cc: Darrick J. Wong <djwong@xxxxxxxxxx> > Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors