Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath10k: change 'unsigned long int' to 'unsigned long'

Fixes checkpatch warnings:

Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

+32 -32
+8 -8
drivers/net/wireless/ath/ath10k/core.h
··· 448 448 }; 449 449 450 450 struct ath10k_sta_tid_stats { 451 - unsigned long int rx_pkt_from_fw; 452 - unsigned long int rx_pkt_unchained; 453 - unsigned long int rx_pkt_drop_chained; 454 - unsigned long int rx_pkt_drop_filter; 455 - unsigned long int rx_pkt_err[ATH10K_PKT_RX_ERR_MAX]; 456 - unsigned long int rx_pkt_queued_for_mac; 457 - unsigned long int rx_pkt_ampdu[ATH10K_AMPDU_SUBFRM_NUM_MAX]; 458 - unsigned long int rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_MAX]; 451 + unsigned long rx_pkt_from_fw; 452 + unsigned long rx_pkt_unchained; 453 + unsigned long rx_pkt_drop_chained; 454 + unsigned long rx_pkt_drop_filter; 455 + unsigned long rx_pkt_err[ATH10K_PKT_RX_ERR_MAX]; 456 + unsigned long rx_pkt_queued_for_mac; 457 + unsigned long rx_pkt_ampdu[ATH10K_AMPDU_SUBFRM_NUM_MAX]; 458 + unsigned long rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_MAX]; 459 459 }; 460 460 461 461 enum ath10k_counter_type {
+10 -10
drivers/net/wireless/ath/ath10k/debug.h
··· 213 213 void ath10k_sta_update_rx_duration(struct ath10k *ar, 214 214 struct ath10k_fw_stats *stats); 215 215 void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr, 216 - unsigned long int num_msdus, 216 + unsigned long num_msdus, 217 217 enum ath10k_pkt_rx_err err, 218 - unsigned long int unchain_cnt, 219 - unsigned long int drop_cnt, 220 - unsigned long int drop_cnt_filter, 221 - unsigned long int queued_msdus); 218 + unsigned long unchain_cnt, 219 + unsigned long drop_cnt, 220 + unsigned long drop_cnt_filter, 221 + unsigned long queued_msdus); 222 222 void ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar, 223 223 u16 peer_id, u8 tid, 224 224 struct htt_rx_indication_mpdu_range *ranges, ··· 232 232 233 233 static inline 234 234 void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr, 235 - unsigned long int num_msdus, 235 + unsigned long num_msdus, 236 236 enum ath10k_pkt_rx_err err, 237 - unsigned long int unchain_cnt, 238 - unsigned long int drop_cnt, 239 - unsigned long int drop_cnt_filter, 240 - unsigned long int queued_msdus) 237 + unsigned long unchain_cnt, 238 + unsigned long drop_cnt, 239 + unsigned long drop_cnt_filter, 240 + unsigned long queued_msdus) 241 241 { 242 242 } 243 243
+5 -5
drivers/net/wireless/ath/ath10k/debugfs_sta.c
··· 87 87 } 88 88 89 89 void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr, 90 - unsigned long int num_msdus, 90 + unsigned long num_msdus, 91 91 enum ath10k_pkt_rx_err err, 92 - unsigned long int unchain_cnt, 93 - unsigned long int drop_cnt, 94 - unsigned long int drop_cnt_filter, 95 - unsigned long int queued_msdus) 92 + unsigned long unchain_cnt, 93 + unsigned long drop_cnt, 94 + unsigned long drop_cnt_filter, 95 + unsigned long queued_msdus) 96 96 { 97 97 struct ieee80211_sta *sta; 98 98 struct ath10k_sta *arsta;
+8 -8
drivers/net/wireless/ath/ath10k/htt_rx.c
··· 1905 1905 } 1906 1906 1907 1907 static int ath10k_unchain_msdu(struct sk_buff_head *amsdu, 1908 - unsigned long int *unchain_cnt) 1908 + unsigned long *unchain_cnt) 1909 1909 { 1910 1910 struct sk_buff *skb, *first; 1911 1911 int space; ··· 1954 1954 1955 1955 static void ath10k_htt_rx_h_unchain(struct ath10k *ar, 1956 1956 struct sk_buff_head *amsdu, 1957 - unsigned long int *drop_cnt, 1958 - unsigned long int *unchain_cnt) 1957 + unsigned long *drop_cnt, 1958 + unsigned long *unchain_cnt) 1959 1959 { 1960 1960 struct sk_buff *first; 1961 1961 struct htt_rx_desc *rxd; ··· 2005 2005 static void ath10k_htt_rx_h_filter(struct ath10k *ar, 2006 2006 struct sk_buff_head *amsdu, 2007 2007 struct ieee80211_rx_status *rx_status, 2008 - unsigned long int *drop_cnt) 2008 + unsigned long *drop_cnt) 2009 2009 { 2010 2010 if (skb_queue_empty(amsdu)) 2011 2011 return; ··· 2025 2025 struct ieee80211_rx_status *rx_status = &htt->rx_status; 2026 2026 struct sk_buff_head amsdu; 2027 2027 int ret; 2028 - unsigned long int drop_cnt = 0; 2029 - unsigned long int unchain_cnt = 0; 2030 - unsigned long int drop_cnt_filter = 0; 2031 - unsigned long int msdus_to_queue, num_msdus; 2028 + unsigned long drop_cnt = 0; 2029 + unsigned long unchain_cnt = 0; 2030 + unsigned long drop_cnt_filter = 0; 2031 + unsigned long msdus_to_queue, num_msdus; 2032 2032 enum ath10k_pkt_rx_err err = ATH10K_PKT_RX_ERR_MAX; 2033 2033 u8 first_hdr[RX_HTT_HDR_STATUS_LEN]; 2034 2034
+1 -1
drivers/net/wireless/ath/ath10k/snoc.h
··· 90 90 struct ath10k_vreg_info *vreg; 91 91 struct ath10k_clk_info *clk; 92 92 struct ath10k_qmi *qmi; 93 - unsigned long int flags; 93 + unsigned long flags; 94 94 }; 95 95 96 96 static inline struct ath10k_snoc *ath10k_snoc_priv(struct ath10k *ar)