On Fri, 26 Aug 2011 09:46:45 -0700, Guenter Roeck wrote: > Hi all, > > I sometimes get the following warnings when trying to compile lm90.c: > > drivers/hwmon/lm90.c: In function ‘lm90_detect’: > drivers/hwmon/lm90.c:1114: warning: ‘chip_id’ may be used uninitialized > in this function > drivers/hwmon/lm90.c:1114: warning: ‘reg_config1’ may be used > uninitialized in this function > drivers/hwmon/lm90.c:1114: warning: ‘reg_convrate’ may be used > uninitialized in this function > drivers/hwmon/lm90.c:1187: warning: ‘reg_emerg2’ may be used > uninitialized in this function > drivers/hwmon/lm90.c:1187: warning: ‘reg_status2’ may be used > uninitialized in this function > > This is seen with 3.0-rc3, with the attached configuration file (which 3.0-rc3 or 3.1-rc3? > was generated with "make randconfig"). gcc version is 4.4.3. > > Any idea, anyone, what might cause the warning ? No immediate idea but I can try to reproduce it... -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors