diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 18:19:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 18:19:06 -0400 |
commit | b8c638acacfe32c0bde361916467af00691f1965 (patch) | |
tree | a5655f484fa731d5ffd49c284f0372c4e055d144 /fs | |
parent | ef9efe43f2eddabee1e78a90c7c8451505bf05e1 (diff) | |
parent | 8e1c091cccd551557d24ce845715e8ceb6c49d36 (diff) |
Merge branch 'uninit-var' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'uninit-var' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
arch/i386/* fs/* ipc/*: mark variables with uninitialized_var()
drivers/*: mark variables with uninitialized_var()
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/file.c | 3 | ||||
-rw-r--r-- | fs/udf/super.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index f04c7aa834cb..004c2abbc732 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -1867,7 +1867,8 @@ static ssize_t ocfs2_file_buffered_write(struct file *file, loff_t *ppos, | |||
1867 | loff_t pos; | 1867 | loff_t pos; |
1868 | const struct iovec *cur_iov = iov; | 1868 | const struct iovec *cur_iov = iov; |
1869 | struct page *user_page, *page; | 1869 | struct page *user_page, *page; |
1870 | char *buf, *dst; | 1870 | char * uninitialized_var(buf); |
1871 | char *dst; | ||
1871 | void *fsdata; | 1872 | void *fsdata; |
1872 | 1873 | ||
1873 | /* | 1874 | /* |
diff --git a/fs/udf/super.c b/fs/udf/super.c index 6658afb41cc7..d6a504f5d758 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c | |||
@@ -1356,7 +1356,7 @@ udf_load_partition(struct super_block *sb, kernel_lb_addr *fileset) | |||
1356 | case UDF_VIRTUAL_MAP15: | 1356 | case UDF_VIRTUAL_MAP15: |
1357 | case UDF_VIRTUAL_MAP20: | 1357 | case UDF_VIRTUAL_MAP20: |
1358 | { | 1358 | { |
1359 | kernel_lb_addr ino; | 1359 | kernel_lb_addr uninitialized_var(ino); |
1360 | 1360 | ||
1361 | if (!UDF_SB_LASTBLOCK(sb)) | 1361 | if (!UDF_SB_LASTBLOCK(sb)) |
1362 | { | 1362 | { |