mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: akpm@osdl.org
Cc: paulus@samba.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix real bugs uncovered by -Wno-uninitialized removal 2
Date: Sun, 12 Sep 2004 09:55:02 +1000	[thread overview]
Message-ID: <20040911235501.GE32755@krispykreme> (raw)
In-Reply-To: <20040911065406.GA32755@krispykreme>


Another real bug.

Signed-off-by: Anton Blanchard <anton@samba.org>

===== drivers/char/hvc_console.c 1.25 vs edited =====
--- 1.25/drivers/char/hvc_console.c	Tue Aug 31 18:09:37 2004
+++ edited/drivers/char/hvc_console.c	Sun Sep 12 09:44:26 2004
@@ -801,7 +801,7 @@
 void hvc_console_print(struct console *co, const char *b, unsigned count)
 {
 	char c[16] __ALIGNED__;
-	unsigned i, n = 0;
+	unsigned i = 0, n = 0;
 	int r, donecr = 0;
 
 	/* Console access attempt outside of acceptable console range. */

      parent reply	other threads:[~2004-09-11 23:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11  6:54 [PATCH] Fix real bugs uncovered by -Wno-uninitialized removal Anton Blanchard
2004-09-11  7:53 ` [PATCH] Fix spurious warnings " Anton Blanchard
2004-09-11 23:55 ` Anton Blanchard [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=20040911235501.GE32755@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulus@samba.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

Powered by JetHome