OSDN Git Service

rtlwifi: rtl8192se: Convert macros that set descriptor
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 9 Oct 2019 17:37:10 +0000 (12:37 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 11 Oct 2019 08:56:54 +0000 (11:56 +0300)
commit06aae1b02285fd144ff1f1c50a7824f09dc8d778
treec8821192b762f15ce5b28d6e1be20506a6bbafa8
parentc3f997f0c3b2c46776304a482571cdee5f182de2
rtlwifi: rtl8192se: 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/rtl8192se/def.h
drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.c