OSDN Git Service

rtlwifi: rtl8192ee: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 31 Aug 2019 18:06:42 +0000 (13:06 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:30:46 +0000 (16:30 +0300)
commit7f1c7460e932b1de7a2861bd1026a0f88918218a
treed706c71bd4e116342131fddf420d8cfd147bbe64
parent11f92ca1475ced7d1995510f566ebbf86bff53d7
rtlwifi: rtl8192ee: 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 reports lines too long are fixed.

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