diff options
author | Tony Luck <tony.luck@intel.com> | 2006-04-04 14:11:49 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-04-04 14:11:49 -0700 |
commit | 27f4aa3db090ff5bc0e6c192aae6d99b21563b21 (patch) | |
tree | 4a1d0b73224a6e32d1c029356098143a586ababd | |
parent | d905b00b3bc9484d92dd6e9bd9fd8cf66580dc8a (diff) | |
download | op-kernel-dev-27f4aa3db090ff5bc0e6c192aae6d99b21563b21.zip op-kernel-dev-27f4aa3db090ff5bc0e6c192aae6d99b21563b21.tar.gz |
[IA64] 'msg' may be used uninitialized in xpc_initiate_allocate()
Found by gcc4.1 and reported by Dean Nelson.
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/sn/kernel/xpc_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/xpc_channel.c b/arch/ia64/sn/kernel/xpc_channel.c index d0abddd..8255a9b 100644 --- a/arch/ia64/sn/kernel/xpc_channel.c +++ b/arch/ia64/sn/kernel/xpc_channel.c @@ -1831,7 +1831,7 @@ xpc_initiate_allocate(partid_t partid, int ch_number, u32 flags, void **payload) { struct xpc_partition *part = &xpc_partitions[partid]; enum xpc_retval ret = xpcUnknownReason; - struct xpc_msg *msg; + struct xpc_msg *msg = NULL; DBUG_ON(partid <= 0 || partid >= XP_MAX_PARTITIONS); |