From: Pete Zaitcev <zaitcev@redhat.com>
To: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: linux-kernel-list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] USB Elan FTDI: check for workqueue creation
Date: Fri, 23 Feb 2007 17:43:37 -0800 [thread overview]
Message-ID: <20070223174337.60d9ed3f.zaitcev@redhat.com> (raw)
In-Reply-To: <20070223081005.GB10055@cvg>
On Fri, 23 Feb 2007 11:10:05 +0300, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> I may be wrong, but a lot of the kernel code have static pointers
> initialized to NULL with explicit manner... More over I always thought
> that _static_ is not mean _initialized to zero_. I think _static_ is
> just the method to _hide_ variables in the file (as ANSI C describes).
> Am I wrong?
I'm afraid you are wrong here. Static variables are initialized on
zero in C, although I cannot provide you with a relevant quote from
a standard. Just trust me for now, and resubmit the patch without
the first segment... :-) You're clearly fixing a bug in it.
-- Pete
next prev parent reply other threads:[~2007-02-24 1:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-19 18:15 [PATCH] USB Elan FTDI: check for workqueue creation Cyrill Gorcunov
2007-02-22 23:55 ` Pete Zaitcev
2007-02-23 7:53 ` Cyrill Gorcunov
[not found] ` <20070222235738.f36e534a.zaitcev@redhat.com>
2007-02-23 8:10 ` Cyrill Gorcunov
2007-02-24 1:43 ` Pete Zaitcev [this message]
2007-02-24 7:12 ` Cyrill Gorcunov
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=20070223174337.60d9ed3f.zaitcev@redhat.com \
--to=zaitcev@redhat.com \
--cc=gorcunov@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox