brcmfmac: Fix incorrect type in assignment
authorRemi Depommier <rde@setrix.com>
Mon, 16 Nov 2020 00:16:39 +0000 (19:16 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Nov 2020 15:03:25 +0000 (17:03 +0200)
commitfa3622bbea10c5083ce4f84da79248d4e22fea4b
treefeb42e6dba06e8ef711b88a72756c7b959a156b2
parent31e07aa33fa7cdc93fa91c3f78f031e8d38862c2
brcmfmac: Fix incorrect type in assignment

The left-hand side of the assignment from cpu_to_le32() should be of
type __le32. This commit clears the warning reported by sparse when
building with C=1 CF="-D__CHECK_ENDIAN__".

Fixes: d56fd83cf99c ("brcmfmac: fix SDIO access for big-endian host")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Remi Depommier <rde@setrix.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201116001639.31958-1-rde@setrix.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c