[lm-sensors] [PATCH] x86, hwmon: Remove bogus "SHOW" global variable in via-cputemp.c

Jean Delvare khali at linux-fr.org
Thu Aug 12 09:57:48 CEST 2010


On Wed, 4 Aug 2010 09:52:36 +0200, Harald Welte wrote:
> On Tue, Aug 03, 2010 at 05:03:44PM -0700, H. Peter Anvin wrote:
> > The via-cputemp hwmon driver was probably intending "typedef enum {
> > ... } SHOW;", but the "typedef" was missing creating a global variable
> > named "SHOW".  There is absolutely no reason to have this in the
> > global namespace.
> 
> good catch, thanks for the cleanup
> 
> Acked-By: Harald Welte <HaraldWelte at viatech.com>

Applied, thanks.

-- 
Jean Delvare



More information about the lm-sensors mailing list