public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: remove NDIS_802_11_RATES typedef
@ 2026-02-11  2:41 Ethan Luna
  2026-02-11  3:26 ` Ethan Tidmore
  2026-02-13 15:34 ` kernel test robot
  0 siblings, 2 replies; 4+ messages in thread
From: Ethan Luna @ 2026-02-11  2:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Ethan Luna

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] staging: rtl8723bs: remove NDIS_802_11_RATES typedef
@ 2026-02-11  2:01 Ethan Luna
  0 siblings, 0 replies; 4+ messages in thread
From: Ethan Luna @ 2026-02-11  2:01 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Ethan Luna

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-13 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-11  2:41 [PATCH] staging: rtl8723bs: remove NDIS_802_11_RATES typedef Ethan Luna
2026-02-11  3:26 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox