]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1cf00f0ff3ce9c78404a5b04c8c4808b80bc36d4
treed706c71bd4e116342131fddf420d8cfd147bbe64
parent12737cdca19d4a16f3cff04fa7a2038b78ee6c07
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