Commit:     69759454873fd90130007bdb60948a79e880cd82
Parent:     8aa84ab99b1e47973f0b82258f0eab945d0b114d
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 04:20:53 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 09:22:36 2008 -0800

    fs/afs/security.c: fix uninitialized var warning
    fs/afs/security.c: In function 'afs_permission':
    fs/afs/security.c:290: warning: 'access' may be used uninitialized in this 
    Cc: David Howells <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 fs/afs/security.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/afs/security.c b/fs/afs/security.c
index 9446a1f..3bcbece 100644
--- a/fs/afs/security.c
+++ b/fs/afs/security.c
@@ -287,7 +287,7 @@ static int afs_check_permit(struct afs_vnode *vnode, struct 
key *key,
 int afs_permission(struct inode *inode, int mask, struct nameidata *nd)
        struct afs_vnode *vnode = AFS_FS_I(inode);
-       afs_access_t access;
+       afs_access_t uninitialized_var(access);
        struct key *key;
        int ret;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to