All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Odd warning in lm90.c (and other drivers)
Date: Fri, 26 Aug 2011 17:16:25 +0000	[thread overview]
Message-ID: <20110826171625.GA5900@ericsson.com> (raw)
In-Reply-To: <1314377205.2796.90.camel@groeck-laptop>

On Fri, Aug 26, 2011 at 12:53:35PM -0400, 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
> > 
> > This is seen with 3.0-rc3, with the attached configuration file (which
> 
> 3.0-rc3 or 3.1-rc3?
> 
3.1-rc3. Looks like I didn't get enough coffe today. Anyway, the kernel version
does not really matter, at least not too much; I have also seen it with 3.0.3.

Build system runs Ubuntu Lucid, which is there gcc-4.4.3 comes from.

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2011-08-26 17:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 16:46 [lm-sensors] Odd warning in lm90.c (and other drivers) Guenter Roeck
2011-08-26 16:53 ` Jean Delvare
2011-08-26 17:16 ` Guenter Roeck [this message]
2011-08-26 17:22 ` Jean Delvare
2011-08-26 18:05 ` Guenter Roeck
2011-08-26 18:28 ` Guenter Roeck
2011-08-27 15:02 ` Jean Delvare
2011-08-27 19:58 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110826171625.GA5900@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.