]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8192ce: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 2 Aug 2019 01:21:01 +0000 (20:21 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:42:52 +0000 (15:42 +0300)
commit9c50d2aff35e414486b6f8cbc0d233d2f760f5b7
treeb3400b73963c78186ae02b17c8c4f93ed2a78a01
parent1181873c6e53643a94aeb7289ea73c6d2e8f3f3e
rtlwifi: rtl8192ce: 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/rtl8192ce/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h