OSDN Git Service

rtlwifi: rtl8723be: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Sep 2019 01:59:56 +0000 (20:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 14:55:38 +0000 (17:55 +0300)
commitd7b259fe697117f26a56cd11cdd410f08f94e987
tree303000384742c349ce8bf0c0b82ff87451290bab
parent360226fdc53dc3b4018cbc27595af066b57b640e
rtlwifi: rtl8723be: Convert macros that set descriptor

As a first step in the conversion, the macros that set the RX and TX
descriptors are converted to static inline routines, and the names are
changed from upper to lower case. To minimize the changes in a given
step, the input descriptor information is left as as a byte array
(u8 *), even though it should be a little-endian word array (__le32 *).
That will be changed in the next patch.

Several places where checkpatch.pl complains about a space after a cast
are fixed.

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