]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: iwlwifi: mvm: Improve code style in pointer declarations
authorJuan José Arboleda <soyjuanarbol@gmail.com>
Sun, 29 Dec 2024 14:44:44 +0000 (16:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:42 +0000 (15:26 +0100)
The changes ensure that there is a space between the `u8` type and the
`*` character as preferred by the guidelines.

This change is purely stylistic and do not affect the functionality
of the code.

Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
Link: https://msgid.link/10b6d4945675cada713e819f7bd6782a66a1c0d2.1724103043.git.soyjuanarbol@gmail.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20241229164246.f09a200be4f8.Ia564ae1c59136bd3c2864ccfb3a244b3257dcd5f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/power.c

index bc363e8427e49d663d36b38facaf7145ea5f966e..a386b315e52f316af0c4ef4cc6ace2112050c691 100644 (file)
@@ -567,7 +567,7 @@ struct iwl_power_vifs {
        bool monitor_active;
 };
 
-static void iwl_mvm_power_disable_pm_iterator(void *_data, u8mac,
+static void iwl_mvm_power_disable_pm_iterator(void *_data, u8 *mac,
                                              struct ieee80211_vif *vif)
 {
        struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
@@ -575,7 +575,7 @@ static void iwl_mvm_power_disable_pm_iterator(void *_data, u8* mac,
        mvmvif->pm_enabled = false;
 }
 
-static void iwl_mvm_power_ps_disabled_iterator(void *_data, u8mac,
+static void iwl_mvm_power_ps_disabled_iterator(void *_data, u8 *mac,
                                               struct ieee80211_vif *vif)
 {
        struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);