From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Nigel Kukard <nkukard@lbsd.net>
Cc: jgarzik@pobox.com, linux-ide@vger.kernel.org
Subject: Re: sata_sil: int slow_down uninitialized
Date: Sat, 05 Jul 2008 15:33:15 +0400 [thread overview]
Message-ID: <486F5BFB.9090406@ru.mvista.com> (raw)
In-Reply-To: <1215248332.3396.16.camel@nigel-x60>
Hello.
Nigel Kukard wrote:
> Maybe I'm wrong, but line 247 of sata_sil...
> static int slow_down;
>
> is not initialized and used on line 540.
>
> Is this right?
>
Yes because unitialized static variables are automatically
initialzied to 0 in C.
MBR, Sergei
prev parent reply other threads:[~2008-07-05 11:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-05 8:58 sata_sil: int slow_down uninitialized Nigel Kukard
2008-07-05 11:20 ` Alan Cox
2008-07-05 11:33 ` Sergei Shtylyov [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=486F5BFB.9090406@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=nkukard@lbsd.net \
/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).