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>
This commit is contained in:
parent
01dc76dfdc
commit
28bbe23740
|
@ -448,14 +448,14 @@ enum ath10k_amsdu_subfrm_num {
|
|||
};
|
||||
|
||||
struct ath10k_sta_tid_stats {
|
||||
unsigned long int rx_pkt_from_fw;
|
||||
unsigned long int rx_pkt_unchained;
|
||||
unsigned long int rx_pkt_drop_chained;
|
||||
unsigned long int rx_pkt_drop_filter;
|
||||
unsigned long int rx_pkt_err[ATH10K_PKT_RX_ERR_MAX];
|
||||
unsigned long int rx_pkt_queued_for_mac;
|
||||
unsigned long int rx_pkt_ampdu[ATH10K_AMPDU_SUBFRM_NUM_MAX];
|
||||
unsigned long int rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_MAX];
|
||||
unsigned long rx_pkt_from_fw;
|
||||
unsigned long rx_pkt_unchained;
|
||||
unsigned long rx_pkt_drop_chained;
|
||||
unsigned long rx_pkt_drop_filter;
|
||||
unsigned long rx_pkt_err[ATH10K_PKT_RX_ERR_MAX];
|
||||
unsigned long rx_pkt_queued_for_mac;
|
||||
unsigned long rx_pkt_ampdu[ATH10K_AMPDU_SUBFRM_NUM_MAX];
|
||||
unsigned long rx_pkt_amsdu[ATH10K_AMSDU_SUBFRM_NUM_MAX];
|
||||
};
|
||||
|
||||
enum ath10k_counter_type {
|
||||
|
|
|
@ -213,12 +213,12 @@ void ath10k_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
|||
void ath10k_sta_update_rx_duration(struct ath10k *ar,
|
||||
struct ath10k_fw_stats *stats);
|
||||
void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr,
|
||||
unsigned long int num_msdus,
|
||||
unsigned long num_msdus,
|
||||
enum ath10k_pkt_rx_err err,
|
||||
unsigned long int unchain_cnt,
|
||||
unsigned long int drop_cnt,
|
||||
unsigned long int drop_cnt_filter,
|
||||
unsigned long int queued_msdus);
|
||||
unsigned long unchain_cnt,
|
||||
unsigned long drop_cnt,
|
||||
unsigned long drop_cnt_filter,
|
||||
unsigned long queued_msdus);
|
||||
void ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar,
|
||||
u16 peer_id, u8 tid,
|
||||
struct htt_rx_indication_mpdu_range *ranges,
|
||||
|
@ -232,12 +232,12 @@ void ath10k_sta_update_rx_duration(struct ath10k *ar,
|
|||
|
||||
static inline
|
||||
void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr,
|
||||
unsigned long int num_msdus,
|
||||
unsigned long num_msdus,
|
||||
enum ath10k_pkt_rx_err err,
|
||||
unsigned long int unchain_cnt,
|
||||
unsigned long int drop_cnt,
|
||||
unsigned long int drop_cnt_filter,
|
||||
unsigned long int queued_msdus)
|
||||
unsigned long unchain_cnt,
|
||||
unsigned long drop_cnt,
|
||||
unsigned long drop_cnt_filter,
|
||||
unsigned long queued_msdus)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -87,12 +87,12 @@ out:
|
|||
}
|
||||
|
||||
void ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr,
|
||||
unsigned long int num_msdus,
|
||||
unsigned long num_msdus,
|
||||
enum ath10k_pkt_rx_err err,
|
||||
unsigned long int unchain_cnt,
|
||||
unsigned long int drop_cnt,
|
||||
unsigned long int drop_cnt_filter,
|
||||
unsigned long int queued_msdus)
|
||||
unsigned long unchain_cnt,
|
||||
unsigned long drop_cnt,
|
||||
unsigned long drop_cnt_filter,
|
||||
unsigned long queued_msdus)
|
||||
{
|
||||
struct ieee80211_sta *sta;
|
||||
struct ath10k_sta *arsta;
|
||||
|
|
|
@ -1905,7 +1905,7 @@ static void ath10k_htt_rx_h_enqueue(struct ath10k *ar,
|
|||
}
|
||||
|
||||
static int ath10k_unchain_msdu(struct sk_buff_head *amsdu,
|
||||
unsigned long int *unchain_cnt)
|
||||
unsigned long *unchain_cnt)
|
||||
{
|
||||
struct sk_buff *skb, *first;
|
||||
int space;
|
||||
|
@ -1954,8 +1954,8 @@ static int ath10k_unchain_msdu(struct sk_buff_head *amsdu,
|
|||
|
||||
static void ath10k_htt_rx_h_unchain(struct ath10k *ar,
|
||||
struct sk_buff_head *amsdu,
|
||||
unsigned long int *drop_cnt,
|
||||
unsigned long int *unchain_cnt)
|
||||
unsigned long *drop_cnt,
|
||||
unsigned long *unchain_cnt)
|
||||
{
|
||||
struct sk_buff *first;
|
||||
struct htt_rx_desc *rxd;
|
||||
|
@ -2005,7 +2005,7 @@ static bool ath10k_htt_rx_amsdu_allowed(struct ath10k *ar,
|
|||
static void ath10k_htt_rx_h_filter(struct ath10k *ar,
|
||||
struct sk_buff_head *amsdu,
|
||||
struct ieee80211_rx_status *rx_status,
|
||||
unsigned long int *drop_cnt)
|
||||
unsigned long *drop_cnt)
|
||||
{
|
||||
if (skb_queue_empty(amsdu))
|
||||
return;
|
||||
|
@ -2025,10 +2025,10 @@ static int ath10k_htt_rx_handle_amsdu(struct ath10k_htt *htt)
|
|||
struct ieee80211_rx_status *rx_status = &htt->rx_status;
|
||||
struct sk_buff_head amsdu;
|
||||
int ret;
|
||||
unsigned long int drop_cnt = 0;
|
||||
unsigned long int unchain_cnt = 0;
|
||||
unsigned long int drop_cnt_filter = 0;
|
||||
unsigned long int msdus_to_queue, num_msdus;
|
||||
unsigned long drop_cnt = 0;
|
||||
unsigned long unchain_cnt = 0;
|
||||
unsigned long drop_cnt_filter = 0;
|
||||
unsigned long msdus_to_queue, num_msdus;
|
||||
enum ath10k_pkt_rx_err err = ATH10K_PKT_RX_ERR_MAX;
|
||||
u8 first_hdr[RX_HTT_HDR_STATUS_LEN];
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ struct ath10k_snoc {
|
|||
struct ath10k_vreg_info *vreg;
|
||||
struct ath10k_clk_info *clk;
|
||||
struct ath10k_qmi *qmi;
|
||||
unsigned long int flags;
|
||||
unsigned long flags;
|
||||
};
|
||||
|
||||
static inline struct ath10k_snoc *ath10k_snoc_priv(struct ath10k *ar)
|
||||
|
|
Loading…
Reference in New Issue