]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8192cu: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 1 Sep 2019 15:47:05 +0000 (10:47 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:32:17 +0000 (16:32 +0300)
commit8e375965b9042ab0a48db8ffbfdb136ea0ba5a3b
treece0d6b2f598dab41c4469f2c2a511fb69dee8033
parente45da01dc89074110634139098cd77c4a682a376
rtlwifi: rtl8192cu: 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
and other warnings are fixed.

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