linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER
@ 2011-07-19 22:02 Pavel Roskin
  2011-07-20 16:59 ` Christian Lamparter
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2011-07-19 22:02 UTC (permalink / raw)
  To: Christian Lamparter, linux-wireless, John W. Linville

Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 drivers/net/wireless/ath/carl9170/carl9170.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/ath/carl9170/carl9170.h b/drivers/net/wireless/ath/carl9170/carl9170.h
index d5c35fe..c5427a7 100644
--- a/drivers/net/wireless/ath/carl9170/carl9170.h
+++ b/drivers/net/wireless/ath/carl9170/carl9170.h
@@ -177,7 +177,7 @@ struct carl9170_tx_queue_stats {
 
 struct carl9170_vif {
 	unsigned int id;
-	struct ieee80211_vif *vif;
+	struct ieee80211_vif __rcu *vif;
 };
 
 struct carl9170_vif_info {
@@ -311,7 +311,7 @@ struct ar9170 {
 	spinlock_t beacon_lock;
 	unsigned int global_pretbtt;
 	unsigned int global_beacon_int;
-	struct carl9170_vif_info *beacon_iter;
+	struct carl9170_vif_info __rcu *beacon_iter;
 	unsigned int beacon_enabled;
 
 	/* cryptographic engine */
@@ -389,7 +389,7 @@ struct ar9170 {
 	/* tx ampdu */
 	struct work_struct ampdu_work;
 	spinlock_t tx_ampdu_list_lock;
-	struct carl9170_sta_tid *tx_ampdu_iter;
+	struct carl9170_sta_tid __rcu *tx_ampdu_iter;
 	struct list_head tx_ampdu_list;
 	atomic_t tx_ampdu_upload;
 	atomic_t tx_ampdu_scheduler;
@@ -456,7 +456,7 @@ struct carl9170_sta_info {
 	bool sleeping;
 	atomic_t pending_frames;
 	unsigned int ampdu_max_len;
-	struct carl9170_sta_tid *agg[CARL9170_NUM_TID];
+	struct carl9170_sta_tid __rcu *agg[CARL9170_NUM_TID];
 	struct carl9170_ba_stats stats[CARL9170_NUM_TID];
 };
 

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

* Re: [PATCH] carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER
  2011-07-19 22:02 [PATCH] carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER Pavel Roskin
@ 2011-07-20 16:59 ` Christian Lamparter
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Lamparter @ 2011-07-20 16:59 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: linux-wireless, John W. Linville

On Wednesday, July 20, 2011 12:02:15 AM Pavel Roskin wrote:
> Signed-off-by: Pavel Roskin <proski@gnu.org>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>

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

end of thread, other threads:[~2011-07-20 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19 22:02 [PATCH] carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER Pavel Roskin
2011-07-20 16:59 ` Christian Lamparter

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).