All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: davej@suse.de, Alan Cox <alan@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] More network pci_enable cleanups.
Date: Sun, 11 Feb 2001 09:12:19 -0200	[thread overview]
Message-ID: <20010211091218.B26207@conectiva.com.br> (raw)
In-Reply-To: <Pine.LNX.4.31.0102111159430.6348-100000@athlon.local> <3A86819F.799C4311@mandrakesoft.com>
In-Reply-To: <3A86819F.799C4311@mandrakesoft.com>; from jgarzik@mandrakesoft.com on Sun, Feb 11, 2001 at 07:12:15AM -0500

Em Sun, Feb 11, 2001 at 07:12:15AM -0500, Jeff Garzik escreveu:
> davej@suse.de wrote:
> > > > -       int     cards_found = 0;
> > > > +       int     cards_found;
> > > Rejected.  Introduces bug.  That zero is required!
> > 
> > Refresh my memory here. I thought unitialised vars go to bss,
> > and get zeroed at boot time ?
> 
> cards_found is on the stack, which can contain random crap..

Dave, only static/globals goes to the bss and are thus zeroed, the locals
are in the stack, like Jeff said

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2001-02-11 12:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-11  2:56 [PATCH] More network pci_enable cleanups davej
2001-02-11  3:54 ` Jeff Garzik
2001-02-11 12:02   ` davej
2001-02-11 12:12     ` Jeff Garzik
2001-02-11 11:12       ` Arnaldo Carvalho de Melo [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=20010211091218.B26207@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=alan@redhat.com \
    --cc=davej@suse.de \
    --cc=jgarzik@mandrakesoft.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 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.