[lm-sensors] [PATCH v2 1/3] hwmon: (ibmaem) Fix error paths

Darrick J. Wong djwong at us.ibm.com
Tue Aug 23 18:58:34 CEST 2011


On Sat, Aug 20, 2011 at 09:33:48AM -0700, Guenter Roeck wrote:
> On Sat, Aug 20, 2011 at 08:56:35AM -0400, Jean Delvare wrote:
> > From: Jean Delvare <khali at linux-fr.org>
> > 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 at linux-fr.org>
> > Cc: Darrick J. Wong <djwong at us.ibm.com>
> > Cc: Guenter Roeck <guenter.roeck at ericsson.com>
> 
> Acked-by: Guenter Roeck <guenter.roeck at ericsson.com>

Acked-by: Darrick J. Wong <djwong at us.ibm.com>




More information about the lm-sensors mailing list