]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8821ae: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 20 May 2019 17:23:59 +0000 (12:23 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:35:00 +0000 (15:35 +0300)
commitb068633f3ea02a1024434f81fe917ab8a08c9dec
tree493567a0ff3b985b921ce614b2c0645d1b25d0c3
parent5fe507d159bc5b17bc5c3f993ad9b60cd2d40803
rtlwifi: rtl8821ae: 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/rtl8821ae/dm.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h