iwlwifi: mvm: make threshold temperatures unsigned
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Sep 2015 20:19:43 +0000 (22:19 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 11:33:32 +0000 (14:33 +0300)
There's no need to have negative threshold temperatures, so make
them unsigned to avoid signedness warnings in debugfs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/iwl-config.h

index 939fa229c038a1dc6beb4288a4cb7364e1238a40..910970858f98c2d04764269603c19fe9be8488cc 100644 (file)
@@ -223,13 +223,13 @@ struct iwl_tt_tx_backoff {
  * @support_tx_backoff: Support tx-backoff?
  */
 struct iwl_tt_params {
-       s32 ct_kill_entry;
-       s32 ct_kill_exit;
+       u32 ct_kill_entry;
+       u32 ct_kill_exit;
        u32 ct_kill_duration;
-       s32 dynamic_smps_entry;
-       s32 dynamic_smps_exit;
-       s32 tx_protection_entry;
-       s32 tx_protection_exit;
+       u32 dynamic_smps_entry;
+       u32 dynamic_smps_exit;
+       u32 tx_protection_entry;
+       u32 tx_protection_exit;
        struct iwl_tt_tx_backoff tx_backoff[TT_TX_BACKOFF_SIZE];
        bool support_ct_kill;
        bool support_dynamic_smps;