Hi Guenter, On Fri, 26 Aug 2011 18:53:35 +0200, Jean Delvare wrote: > 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 Can you try enabling _all_ hwmon drivers to see if any other report similar warnings with your config? > > This is seen with 3.0-rc3, with the attached configuration file (which > > 3.0-rc3 or 3.1-rc3? The latter, I should have checked the attached configuration file before asking. > > 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... First thing I see is: # make oldconfig scripts/kconfig/conf --oldconfig Kconfig warning: (IA32_EMULATION) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF) warning: (IA32_EMULATION) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF) This might explain something... Probably worth fixing before looking into any build warning or error. -- Jean Delvare _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors