From: Jun Sun <jsun@mvista.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Scott A McConnell <samcconn@cotw.com>, linux-mips@oss.sgi.com
Subject: Re: kernel/printk.c problem
Date: Wed, 18 Apr 2001 10:32:27 -0700 [thread overview]
Message-ID: <3ADDCFAB.549DA4FA@mvista.com> (raw)
In-Reply-To: Pine.GSO.4.10.10104180852450.17832-100000@escobaria.sonytel.be
Geert Uytterhoeven wrote:
>
> On Tue, 17 Apr 2001, Scott A McConnell wrote:
> > struct console *console_drivers = NULL; <----
> > Need the NULL.
> >
> > Otherwise, bad things can happen on the following statement in printk
> >
> > ~line 311
> >
> > if ((c->flags & CON_ENABLED) && c->write){
>
> Current policy is not explicitly initializing variables to zero. If this causes
> problems, there's a bug in the routine that clears the BSS on kernel entry.
>
Interesting. What is the reason behind the policy? Is that because
initialized variable are put in a different section that takes more size in
the image?
Jun
next prev parent reply other threads:[~2001-04-18 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 22:11 kernel/printk.c problem Scott A McConnell
2001-04-18 6:53 ` Geert Uytterhoeven
2001-04-18 16:56 ` Scott A McConnell
2001-04-18 17:32 ` Jun Sun [this message]
2001-04-18 18:28 ` Juan Quintela
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=3ADDCFAB.549DA4FA@mvista.com \
--to=jsun@mvista.com \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=linux-mips@oss.sgi.com \
--cc=samcconn@cotw.com \
/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