ath10k: prefer unsigned int over just unsigned
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 2 Feb 2017 10:47:45 +0000 (12:47 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Feb 2017 08:43:21 +0000 (10:43 +0200)
Fixes new checkpatch warnings:

drivers/net/wireless/ath/ath10k/htt.h:1639: Prefer 'unsigned int' to bare use of 'unsigned'
drivers/net/wireless/ath/ath10k/htt.h:1660: Prefer 'unsigned int' to bare use of 'unsigned'

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h

index 44b25cf00553eb8380e0aa885c522fb370d5f079..dfe9627df7d07a750330a5e1f458813e30d123c4 100644 (file)
@@ -1636,7 +1636,7 @@ struct ath10k_htt {
                int size;
 
                /* size - 1 */
-               unsigned size_mask;
+               unsigned int size_mask;
 
                /* how many rx buffers to keep in the ring */
                int fill_level;
@@ -1657,7 +1657,7 @@ struct ath10k_htt {
 
                /* where HTT SW has processed bufs filled by rx MAC DMA */
                struct {
-                       unsigned msdu_payld;
+                       unsigned int msdu_payld;
                } sw_rd_idx;
 
                /*