[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071015113445.GO2444@hacking>
Date: Mon, 15 Oct 2007 19:34:45 +0800
From: WANG Cong <xiyou.wangcong@...il.com>
To: Adrian Bunk <bunk@...nel.org>
Cc: mb@...sch.de, st3@...eup.net, Larry.Finger@...inger.net,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...l.org>
Subject: [-mm Patch] drivers/net/wireless/b43/main.c: fix an uninitialized
variable
Fix an uninitialized variable in drivers/net/wireless/b43/main.c::b43_start().
From: Adrian Bunk <bunk@...nel.org>
Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
---
drivers/net/wireless/b43/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.23-mm1/drivers/net/wireless/b43/main.c
===================================================================
--- linux-2.6.23-mm1.orig/drivers/net/wireless/b43/main.c
+++ linux-2.6.23-mm1/drivers/net/wireless/b43/main.c
@@ -3495,7 +3495,7 @@ static int b43_start(struct ieee80211_hw
struct b43_wl *wl = hw_to_b43_wl(hw);
struct b43_wldev *dev = wl->current_dev;
int did_init = 0;
- int err;
+ int err = 0;
mutex_lock(&wl->mutex);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists