Commit:     7223e8d900d415fe128152d7a4061501b7593d37
Parent:     59f1b154653d961d3ace72a4a5311c395cf7d779
Author:     Frank Lichtenheld <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 12 11:12:52 2007 +0100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:04:38 2008 -0800

    b43: silence a bogus gcc warning
    use uninitialized_var() to avoid the following bogus warning:
      CC [M]  drivers/net/wireless/b43/debugfs.o
    drivers/net/wireless/b43/debugfs.c: In function ‘b43_debugfs_read’:
    drivers/net/wireless/b43/debugfs.c:355: warning: ‘ret’ may be used 
uninitialized in this function
    Signed-off-by: Michael Buesch <[EMAIL PROTECTED]>
    Signed-off-by: Frank Lichtenheld <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
 drivers/net/wireless/b43/debugfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/b43/debugfs.c 
index ef0075d..f84d063 100644
--- a/drivers/net/wireless/b43/debugfs.c
+++ b/drivers/net/wireless/b43/debugfs.c
@@ -352,7 +352,7 @@ static ssize_t b43_debugfs_read(struct file *file, char 
__user *userbuf,
        struct b43_wldev *dev;
        struct b43_debugfs_fops *dfops;
        struct b43_dfs_file *dfile;
-       ssize_t ret;
+       ssize_t uninitialized_var(ret);
        char *buf;
        const size_t bufsize = 1024 * 128;
        const size_t buforder = get_order(bufsize);
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