]> 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)
commit168817fdfdc73c2f9cdc6c4ecb40945849cad21c
treeb3400b73963c78186ae02b17c8c4f93ed2a78a01
parentb4e0944d5513054d93e28f6c03390d595d5e8989
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