mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wedgwood <cw@f00f.org>
To: Ameer Armaly <ameer@bellsouth.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] initialize variables to reduce i386 warnings
Date: Sat, 20 May 2006 17:02:32 -0700	[thread overview]
Message-ID: <20060521000232.GC11232@taniwha.stupidest.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0605201919100.2160@sg1>

On Sat, May 20, 2006 at 07:19:48PM -0400, Ameer Armaly wrote:

> Initialized cpu_freq in arch/i386/kernel/cpu/transmeta.c to suppress
> warning.

Urgh.

Doing this just to silence gcc is wrong.  I know we've done this at
times in the past and that's still not right (I would argue those
should be reverted even).

>  	struct range {
> -		unsigned long start;
> -		unsigned long end;
> +		unsigned long start = 0;
> +		unsigned long end = 0;

?

      parent reply	other threads:[~2006-05-21  0:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 23:19 Ameer Armaly
2006-05-20 23:27 ` Michael Buesch
2006-05-21  0:02 ` Chris Wedgwood [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=20060521000232.GC11232@taniwha.stupidest.org \
    --to=cw@f00f.org \
    --cc=ameer@bellsouth.net \
    --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

all inboxes | Powered by JetHome®