]> asedeno.scripts.mit.edu Git - linux.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)
commit98fd8db59a007c05f30f911180f745b243d56746
treeb3400b73963c78186ae02b17c8c4f93ed2a78a01
parenta246b92914339e539b5fd27b347601fc9f0e8460
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