]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rtlwifi: rtl8192ce: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 2 Aug 2019 01:21:02 +0000 (20:21 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:42:53 +0000 (15:42 +0300)
commitc85a6376673805a68633e5d7d7d1fccf4b207685
tree1b629539f31e7bf6b9c90bf87e2aa19b0c6c6ddb
parent98fd8db59a007c05f30f911180f745b243d56746
rtlwifi: rtl8192ce: Convert inline routines to little-endian words

In this step, the read/write routines for the descriptors are converted
to use __le32 quantities, thus a lot of casts can be removed. Callback
routines still use the 8-bit arrays, but these are changed within the
specified routine.

The macro that cleared a descriptor has now been converted into an inline
routine.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h