Hi Andrew,

   since there's no iso9660 maintainer i send this one to you :).
---
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]>

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

--
--- 23-rc7/fs/isofs/namei.c.orig        2007-09-20 06:34:19.000000000 +0200
+++ 23-rc7/fs/isofs/namei.c     2007-09-20 06:35:23.000000000 +0200
@@ -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;
 
-- 
Regards/Gruß,
    Boris.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to