Skip to content

Commit

Permalink
[IA64] 'msg' may be used uninitialized in xpc_initiate_allocate()
Browse files Browse the repository at this point in the history
Found by gcc4.1 and reported by Dean Nelson.

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed Apr 4, 2006
1 parent d905b00 commit 27f4aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/sn/kernel/xpc_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 27f4aa3

Please sign in to comment.