From: "Steven Noonan" <steven@uplinklabs.net>
To: "Bartlomiej Zolnierkiewicz" <bzolnier@gmail.com>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu
Subject: Re: [PATCH] drivers/ide/ide-probe.c: uninitialized variable 'rc'
Date: Wed, 10 Sep 2008 14:19:56 -0700 [thread overview]
Message-ID: <f488382f0809101419y65b35547t572a0f7bb5316952@mail.gmail.com> (raw)
In-Reply-To: <200809102309.34159.bzolnier@gmail.com>
On Wed, Sep 10, 2008 at 2:09 PM, Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com> wrote:
>
> I recall seeing identical patch before:
>
> http://article.gmane.org/gmane.linux.ide/33107
>
> Does the existing code really results in gcc warning?
>
>
Yes, because GCC thinks it's possible that the for loop has zero
iterations (and hence, 'rc' is never touched).
- Steven
next prev parent reply other threads:[~2008-09-10 21:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 21:07 Steven Noonan
2008-09-10 6:55 ` Ingo Molnar
2008-09-10 21:09 ` Bartlomiej Zolnierkiewicz
2008-09-10 21:19 ` Steven Noonan [this message]
2008-09-10 22:40 ` Elias Oltmanns
2008-09-10 22:44 ` Steven Noonan
2008-09-27 15:40 ` Bartlomiej Zolnierkiewicz
2008-10-05 16:14 ` Bartlomiej Zolnierkiewicz
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=f488382f0809101419y65b35547t572a0f7bb5316952@mail.gmail.com \
--to=steven@uplinklabs.net \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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
all inboxes | Powered by JetHome®