The patch titled
     fs/isofs/namei.c: Remove uninitialized local vars warning
has been added to the -mm tree.  Its filename is
     fs-isofs-nameic-remove-uninitialized-local-vars-warning.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fs/isofs/namei.c: Remove uninitialized local vars warning
From: Borislav Petkov <[EMAIL PROTECTED]>

shut up those:
fs/isofs/namei.c: In function 'isofs_lookup':
fs/isofs/namei.c:161: warning: 'offset' may be used uninitialized in this 
function
fs/isofs/namei.c:161: warning: 'block' may be used uninitialized in this 
function

By the way, they get overwritten at the end of isofs_find_entry().

Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 fs/isofs/namei.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN 
fs/isofs/namei.c~fs-isofs-nameic-remove-uninitialized-local-vars-warning 
fs/isofs/namei.c
--- a/fs/isofs/namei.c~fs-isofs-nameic-remove-uninitialized-local-vars-warning
+++ a/fs/isofs/namei.c
@@ -158,7 +158,8 @@ isofs_find_entry(struct inode *dir, stru
 struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, struct 
nameidata *nd)
 {
        int found;
-       unsigned long block, offset;
+       unsigned long uninitialized_var(block);
+       unsigned long uninitialized_var(offset);
        struct inode *inode;
        struct page *page;
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

unify-dma_bit_mask-definitions-v31.patch
fs-isofs-nameic-remove-uninitialized-local-vars-warning.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to