diff options
author | Pavel Roskin <proski@gnu.org> | 2011-07-19 18:02:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-20 15:04:37 -0400 |
commit | 70126f6105f86366fd97644937ef2180b906b7c8 (patch) | |
tree | 75ee4255ced9bd0d00102bf5f46d0fc8c4c03996 /drivers/net/wireless/ath/carl9170 | |
parent | 0a557ed3a0a4f7e36d76da137b781344f548c464 (diff) |
carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER
Signed-off-by: Pavel Roskin <proski@gnu.org>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r-- | 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 d5c35fe2e89..c5427a72a1e 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 { | |||
177 | 177 | ||
178 | struct carl9170_vif { | 178 | struct carl9170_vif { |
179 | unsigned int id; | 179 | unsigned int id; |
180 | struct ieee80211_vif *vif; | 180 | struct ieee80211_vif __rcu *vif; |
181 | }; | 181 | }; |
182 | 182 | ||
183 | struct carl9170_vif_info { | 183 | struct carl9170_vif_info { |
@@ -311,7 +311,7 @@ struct ar9170 { | |||
311 | spinlock_t beacon_lock; | 311 | spinlock_t beacon_lock; |
312 | unsigned int global_pretbtt; | 312 | unsigned int global_pretbtt; |
313 | unsigned int global_beacon_int; | 313 | unsigned int global_beacon_int; |
314 | struct carl9170_vif_info *beacon_iter; | 314 | struct carl9170_vif_info __rcu *beacon_iter; |
315 | unsigned int beacon_enabled; | 315 | unsigned int beacon_enabled; |
316 | 316 | ||
317 | /* cryptographic engine */ | 317 | /* cryptographic engine */ |
@@ -389,7 +389,7 @@ struct ar9170 { | |||
389 | /* tx ampdu */ | 389 | /* tx ampdu */ |
390 | struct work_struct ampdu_work; | 390 | struct work_struct ampdu_work; |
391 | spinlock_t tx_ampdu_list_lock; | 391 | spinlock_t tx_ampdu_list_lock; |
392 | struct carl9170_sta_tid *tx_ampdu_iter; | 392 | struct carl9170_sta_tid __rcu *tx_ampdu_iter; |
393 | struct list_head tx_ampdu_list; | 393 | struct list_head tx_ampdu_list; |
394 | atomic_t tx_ampdu_upload; | 394 | atomic_t tx_ampdu_upload; |
395 | atomic_t tx_ampdu_scheduler; | 395 | atomic_t tx_ampdu_scheduler; |
@@ -456,7 +456,7 @@ struct carl9170_sta_info { | |||
456 | bool sleeping; | 456 | bool sleeping; |
457 | atomic_t pending_frames; | 457 | atomic_t pending_frames; |
458 | unsigned int ampdu_max_len; | 458 | unsigned int ampdu_max_len; |
459 | struct carl9170_sta_tid *agg[CARL9170_NUM_TID]; | 459 | struct carl9170_sta_tid __rcu *agg[CARL9170_NUM_TID]; |
460 | struct carl9170_ba_stats stats[CARL9170_NUM_TID]; | 460 | struct carl9170_ba_stats stats[CARL9170_NUM_TID]; |
461 | }; | 461 | }; |
462 | 462 | ||