iwlwifi: mvm: don't get address of mvm->fwrt just to dereference as a pointer
authorLuca Coelho <luciano.coelho@intel.com>
Sun, 24 Oct 2021 15:20:29 +0000 (18:20 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 28 Oct 2021 09:04:11 +0000 (12:04 +0300)
commit45fe1b6b6c999f76975581fe6d4888dad3bbbfd8
tree4d7cc5fcc0a305575621148eb4d44165a76aff88
parent698b166ed3464e1604a0e6a3e23cc1b529a5adc1
iwlwifi: mvm: don't get address of mvm->fwrt just to dereference as a pointer

The mvm->fwrt element is not a pointer, but an instance of the
structure, so we should access its elements with a dot-notation
instead of getting the address and dereferencing it as a pointer.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211024181719.ce6841093681.I09634a0aa845a0256e79c7895154d9ac35bc26be@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c