public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: dcn@sgi.com (Dean Nelson)
To: linux-ia64@vger.kernel.org
Subject: [PATCH] eliminate compiler warning for xpc_channel.c
Date: Tue, 04 Apr 2006 14:03:01 +0000	[thread overview]
Message-ID: <44327C95.mailxM9N11TC7P@aqua.americas.sgi.com> (raw)

Placate a compiler warning that 'msg' may be used uninitialized in
function xpc_initiate_allocate().

Signed-off-by: Dean Nelson <dcn@sgi.com>


Index: linux-2.6/arch/ia64/sn/kernel/xpc_channel.c
=================================--- linux-2.6.orig/arch/ia64/sn/kernel/xpc_channel.c	2006-04-03 08:26:22.000000000 -0500
+++ linux-2.6/arch/ia64/sn/kernel/xpc_channel.c	2006-04-04 08:25:51.691831163 -0500
@@ -1831,7 +1831,7 @@
 {
 	struct xpc_partition *part = &xpc_partitions[partid];
 	enum xpc_retval ret = xpcUnknownReason;
-	struct xpc_msg *msg;
+	struct xpc_msg *msg = msg;
 
 
 	DBUG_ON(partid <= 0 || partid >= XP_MAX_PARTITIONS);

             reply	other threads:[~2006-04-04 14:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 14:03 Dean Nelson [this message]
2006-04-04 14:23 ` [PATCH] eliminate compiler warning for xpc_channel.c Luck, Tony
2006-04-04 14:27 ` Matthew Wilcox
2006-04-04 14:34 ` Luck, Tony
2006-04-04 15:29 ` Dean Nelson
2006-04-04 15:35 ` Luck, Tony

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=44327C95.mailxM9N11TC7P@aqua.americas.sgi.com \
    --to=dcn@sgi.com \
    --cc=linux-ia64@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