public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] eliminate compiler warning for xpc_channel.c
@ 2006-04-04 14:03 Dean Nelson
  2006-04-04 14:23 ` Luck, Tony
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dean Nelson @ 2006-04-04 14:03 UTC (permalink / raw)
  To: linux-ia64

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);

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-04-04 15:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-04 14:03 [PATCH] eliminate compiler warning for xpc_channel.c Dean Nelson
2006-04-04 14:23 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox