]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8723be: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Sep 2019 01:59:56 +0000 (20:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 14:55:38 +0000 (17:55 +0300)
commite0ff3012e56a823767fe870aaaab8befbf34743e
tree303000384742c349ce8bf0c0b82ff87451290bab
parent62681af6ee963312d5621fbdd6bf853c0fdd13c2
rtlwifi: rtl8723be: 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/rtl8723be/trx.c
drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h