projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d905b00
)
[IA64] 'msg' may be used uninitialized in xpc_initiate_allocate()
author
Tony Luck
<tony.luck@intel.com>
Tue, 4 Apr 2006 21:11:49 +0000
(14:11 -0700)
committer
Tony Luck
<tony.luck@intel.com>
Tue, 4 Apr 2006 21:11:49 +0000
(14:11 -0700)
Found by gcc4.1 and reported by Dean Nelson.
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/xpc_channel.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/sn/kernel/xpc_channel.c
b/arch/ia64/sn/kernel/xpc_channel.c
index d0abddd9ffe682c8dc4d566c6619a33b180567a7..8255a9be4632adbc325bc96643208ea1a04b8fa6 100644
(file)
--- 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);