[PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c
Subrata Modak
subrata at linux.vnet.ibm.com
Tue Jul 14 22:19:03 EDT 2009
Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,
Signed-off-by: Subrata Modak<subrata at linux.vnet.ibm.com>,
---
--- a/fs/ubifs/commit.c 2009-05-20 10:44:12.000000000 +0530
+++ b/fs/ubifs/commit.c 2009-07-15 05:39:06.000000000 +0530
@@ -510,7 +510,7 @@ int dbg_check_old_index(struct ubifs_inf
int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt;
int first = 1, iip;
struct ubifs_debug_info *d = c->dbg;
- union ubifs_key lower_key, upper_key, l_key, u_key;
+ union ubifs_key uninitialized_var(lower_key), upper_key, l_key, u_key;
unsigned long long uninitialized_var(last_sqnum);
struct ubifs_idx_node *idx;
struct list_head list;
---
Regards--
Subrata
More information about the linux-mtd
mailing list