projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0985a
)
fs/udf/balloc.c: mark a variable as uninitialized_var()
author
WANG Cong
<xiyou.wangcong@gmail.com>
Wed, 17 Oct 2007 06:30:17 +0000
(23:30 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:00 +0000
(08:43 -0700)
Kill a may-be-used-uninitialized warning.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/udf/balloc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/balloc.c
b/fs/udf/balloc.c
index 87e87dcd3f9c94db447581b9f718ac92ea13c146..ab26176f6b91129e924351c067aad96b909223ec 100644
(file)
--- a/
fs/udf/balloc.c
+++ b/
fs/udf/balloc.c
@@
-689,7
+689,7
@@
static int udf_table_new_block(struct super_block *sb,
uint32_t spread = 0xFFFFFFFF, nspread = 0xFFFFFFFF;
uint32_t newblock = 0, adsize;
uint32_t elen, goal_elen = 0;
- kernel_lb_addr eloc,
goal_eloc
;
+ kernel_lb_addr eloc,
uninitialized_var(goal_eloc)
;
struct extent_position epos, goal_epos;
int8_t etype;