From: Ethan Luna <trunixcodes@zohomail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Ethan Luna <trunixcodes@zohomail.com>
Subject: [PATCH] staging: rtl8723bs: remove NDIS_802_11_RATES typedef
Date: Tue, 10 Feb 2026 18:41:14 -0800 [thread overview]
Message-ID: <20260211024115.31339-1-trunixcodes@zohomail.com> (raw)
The kernel coding style discourages typedefs, especially those that hide
array types. Remove the NDIS_802_11_RATES typedef and replace its users
with explicit unsigned char arrays.
No functional changes.
Signed-off-by: Ethan Luna <trunixcodes@zohomail.com>
---
drivers/staging/rtl8723bs/include/wlan_bssdef.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/wlan_bssdef.h b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
index eb38594c8f5c..6ad73d4de6bf 100644
--- a/drivers/staging/rtl8723bs/include/wlan_bssdef.h
+++ b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
@@ -16,7 +16,7 @@
#define NDIS_802_11_LENGTH_RATES_EX 16
typedef unsigned char NDIS_802_11_MAC_ADDRESS[6];
-typedef unsigned char NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES]; /* Set of 8 data rates */
+unsigned char NDIS_802_11_RATES[NDIS_802_11_LENGTH_RATES]; /* Set of 8 data rates */
typedef unsigned char NDIS_802_11_RATES_EX[NDIS_802_11_LENGTH_RATES_EX]; /* Set of 16 data rates */
struct ndis_802_11_ssid {
--
2.43.0
next reply other threads:[~2026-02-11 2:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-11 2:41 Ethan Luna [this message]
2026-02-11 3:26 ` [PATCH] staging: rtl8723bs: remove NDIS_802_11_RATES typedef Ethan Tidmore
2026-02-13 15:34 ` kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-02-11 2:01 Ethan Luna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260211024115.31339-1-trunixcodes@zohomail.com \
--to=trunixcodes@zohomail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox