login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: [-mm Patch] drivers/net/wireless/b43legacy/main.c: initialize the correct return value
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Larry Finger <larry.finger@...>
To: WANG Cong <xiyou.wangcong@...>
Cc: Adrian Bunk <bunk@...>, <mb@...>, John Linville <linville@...>, <linux-wireless@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Subject:
Re: [-mm Patch] drivers/net/wireless/b43legacy/main.c: initialize the correct return value
Date: Monday, October 15, 2007 - 11:03 am
WANG Cong wrote:
quoted text
> Initialize "err" in drivers/net/wireless/b43legacy/main.c::b43legacy_start() > in case of returning an uninitialized value. > > From: Adrian Bunk <bunk@kernel.org> > Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> > > --- > drivers/net/wireless/b43/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6.23-mm1/drivers/net/wireless/b43legacy/main.c > =================================================================== > --- linux-2.6.23-mm1.orig/drivers/net/wireless/b43legacy/main.c > +++ linux-2.6.23-mm1/drivers/net/wireless/b43legacy/main.c > @@ -3306,7 +3306,7 @@ static int b43legacy_start(struct ieee80 > struct b43legacy_wl *wl = hw_to_b43legacy_wl(hw); > struct b43legacy_wldev *dev = wl->current_dev; > int did_init = 0; > - int err; > + int err = 0; > > mutex_lock(&wl->mutex);
I sent the equivalent patch to John Linville yesterday. Larry -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
b43{,legacy}_start can return uninitialized value
, Adrian Bunk
, (Sun Oct 14, 1:51 pm)
[-mm Patch] drivers/net/wireless/b43legacy/main.c: initializ...
, WANG Cong
, (Mon Oct 15, 7:59 am)
Re: [-mm Patch] drivers/net/wireless/b43legacy/main.c: initi...
, Larry Finger
, (Mon Oct 15, 11:03 am)
[-mm Patch] drivers/net/wireless/b43/main.c: fix an uninitia...
, WANG Cong
, (Mon Oct 15, 7:34 am)
Re: [-mm Patch] drivers/net/wireless/b43/main.c: fix an unin...
, Adrian Bunk
, (Mon Oct 15, 8:56 am)
Re: [-mm Patch] drivers/net/wireless/b43/main.c: fix an unin...
, WANG Cong
, (Mon Oct 15, 9:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Adrian Bunk
Re: LSM conversion to static interface
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Colocation donated by:
Who's online
There are currently
5 users
and
893 guests
online.
Online users
strcmp
raffaellotdec
mikereynolds
terrysmith514
ComanVasile
Syndicate