linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix "‘ret’ may be used uninitialized" warning
@ 2009-01-12 19:48 John W. Linville
  2009-01-12 19:48 ` [PATCH] b43: fix "‘gmode’ " John W. Linville
  0 siblings, 1 reply; 12+ messages in thread
From: John W. Linville @ 2009-01-12 19:48 UTC (permalink / raw)
  To: linux-wireless; +Cc: John W. Linville

net/mac80211/ht.c: In function =E2=80=98ieee80211_start_tx_ba_session=E2=
=80=99:
net/mac80211/ht.c:472: warning: =E2=80=98ret=E2=80=99 may be used unini=
tialized in this function

Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 net/mac80211/ht.c                |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 delete mode 100644 arch/arm/mach-integrator/clock.h

diff --git a/arch/arm/mach-integrator/clock.h b/arch/arm/mach-integrato=
r/clock.h
deleted file mode 100644
index e69de29..0000000
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
index 5f510a1..c5c0c52 100644
--- a/net/mac80211/ht.c
+++ b/net/mac80211/ht.c
@@ -469,7 +469,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_=
hw *hw, u8 *ra, u16 tid)
 	struct ieee80211_sub_if_data *sdata;
 	u16 start_seq_num;
 	u8 *state;
-	int ret;
+	int ret =3D 0;
=20
 	if ((tid >=3D STA_TID_NUM) || !(hw->flags & IEEE80211_HW_AMPDU_AGGREG=
ATION))
 		return -EINVAL;
--=20
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-01-12 21:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-12 19:48 [PATCH] mac80211: fix "‘ret’ may be used uninitialized" warning John W. Linville
2009-01-12 19:48 ` [PATCH] b43: fix "‘gmode’ " John W. Linville
2009-01-12 19:48   ` [PATCH] b43legacy: fix "‘up_dev’ " John W. Linville
2009-01-12 19:49     ` [PATCH] iwl3945: fix "‘power_idx’ " John W. Linville
2009-01-12 19:49       ` [PATCH] p54: fix "‘ret’ " John W. Linville
2009-01-12 20:47         ` Christian Lamparter
2009-01-12 21:35       ` [PATCH] iwl3945: fix "‘power_idx’ " reinette chatre
2009-01-12 20:11     ` [PATCH] b43legacy: fix "‘up_dev’ " Michael Buesch
2009-01-12 20:11     ` Larry Finger
2009-01-12 20:09   ` [PATCH] b43: fix "‘gmode’ " Michael Buesch
2009-01-12 20:10   ` Larry Finger
2009-01-12 20:17     ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).