linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Lists linaro-kernel <linaro-kernel@lists.linaro.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [Query]: Regmap v3.8: Compilation Warning: regmap_read_debugfs()
Date: Wed, 20 Feb 2013 12:14:42 +0000	[thread overview]
Message-ID: <20130220121441.GB2726@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAKohpomdJBWrwiNx8T2-vT-b5wponNCMw_PGDMAULgoWidbOZQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

On Wed, Feb 20, 2013 at 01:23:09PM +0530, Viresh Kumar wrote:

> I am unable to understand why this warning is coming and that too on
> line 180 (as that doesn't use this variable). I can't see how this variable is
> used uninitialized.

The compiler isn't as smart about code flow analysis as it thinks it is,
the code is safe.  There's a patch going to Linus this merge window
which shuts up the warning.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2013-02-20 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-20  7:53 [Query]: Regmap v3.8: Compilation Warning: regmap_read_debugfs() Viresh Kumar
2013-02-20 12:14 ` Mark Brown [this message]

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=20130220121441.GB2726@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viresh.kumar@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).