VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Bill Pemberton <wfp5p@virginia.edu> 2010-08-03 15:19:30 -0400 committer: Bob Copeland <me@bobcopeland.com> 2010-08-08 12:02:05 -0400 commit: ffc18879903e55487bc5ac3c774b99a07de06029 parent: 8800a044c71a128633cf3febaf4780531a991334
Commit Summary:
omfs: fix uninitialized variable warning
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 76bc21b91a8a..d821d468e5a2 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -222,7 +222,7 @@ static int omfs_get_block(struct inode *inode, sector_t block,
 	struct buffer_head *bh;
 	sector_t next, offset;
 	int ret;
-	u64 new_block;
+	u64 uninitialized_var(new_block);
 	u32 max_extents;
 	int extent_count;
 	struct omfs_extent *oe;