]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
iwlwifi: fix __percpu annotation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 Aug 2021 15:40:29 +0000 (18:40 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:37:06 +0000 (23:37 +0300)
Sparse warns about some type mismatches, which really is just
because of the strangely placed __percpu annotation. Put it
into the correct place.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210819183728.0a292b05fcf4.I7e89dfa6495143585021cb628ebb17d52e4588e5@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h

index 2cbc9ecd688bfe8bf64d8d819fbce9d3f8692f76..8f0ff540f4398e6776a9bb6fe132047899a4f0a8 100644 (file)
@@ -887,7 +887,7 @@ struct iwl_trans_txqs {
        bool bc_table_dword;
        u8 page_offs;
        u8 dev_cmd_offs;
-       struct __percpu iwl_tso_hdr_page * tso_hdr_page;
+       struct iwl_tso_hdr_page __percpu *tso_hdr_page;
 
        struct {
                u8 fifo;