All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes.
@ 2018-03-30  7:07 Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 02/76] staging: ks7010: Remove trailing _t from 'struct wpa_suite_t' Quytelda Kahja
                   ` (77 more replies)
  0 siblings, 78 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

This macro, provided in 'linux/kernel.h', will calculate the size
more succinctly than a division operation.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 9078e13b0d4a..533feef604a9 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2702,10 +2702,9 @@ static const iw_handler ks_wlan_private_handler[] = {
 };
 
 static const struct iw_handler_def ks_wlan_handler_def = {
-	.num_standard = sizeof(ks_wlan_handler) / sizeof(iw_handler),
-	.num_private = sizeof(ks_wlan_private_handler) / sizeof(iw_handler),
-	.num_private_args =
-	    sizeof(ks_wlan_private_args) / sizeof(struct iw_priv_args),
+	.num_standard = ARRAY_SIZE(ks_wlan_handler),
+	.num_private = ARRAY_SIZE(ks_wlan_private_handler),
+	.num_private_args = ARRAY_SIZE(ks_wlan_private_args),
 	.standard = (iw_handler *)ks_wlan_handler,
 	.private = (iw_handler *)ks_wlan_private_handler,
 	.private_args = (struct iw_priv_args *)ks_wlan_private_args,
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 02/76] staging: ks7010: Remove trailing _t from 'struct wpa_suite_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 03/76] staging: ks7010: Remove trailing _t from 'struct rsn_mode_t' Quytelda Kahja
                   ` (76 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct wpa_suite_t' with 'struct wpa_suite'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 676961cf4103..af1a5c123789 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1660,7 +1660,7 @@ void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)
 	}
 }
 
-struct wpa_suite_t {
+struct wpa_suite {
 	__le16 size;
 	unsigned char suite[4][CIPHER_ID_LEN];
 } __packed;
@@ -1673,7 +1673,7 @@ struct rsn_mode_t {
 static
 void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type)
 {
-	struct wpa_suite_t wpa_suite;
+	struct wpa_suite wpa_suite;
 	struct rsn_mode_t rsn_mode;
 	__le32 val;
 
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 03/76] staging: ks7010: Remove trailing _t from 'struct rsn_mode_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 02/76] staging: ks7010: Remove trailing _t from 'struct wpa_suite_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 04/76] staging: ks7010: Remove trailing _t from 'struct pmk_cache_t' Quytelda Kahja
                   ` (75 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rsn_mode_t' with 'struct rsn_mode'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index af1a5c123789..8c269624401b 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1665,7 +1665,7 @@ struct wpa_suite {
 	unsigned char suite[4][CIPHER_ID_LEN];
 } __packed;
 
-struct rsn_mode_t {
+struct rsn_mode {
 	__le32 rsn_mode;
 	__le16 rsn_capability;
 } __packed;
@@ -1674,7 +1674,7 @@ static
 void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type)
 {
 	struct wpa_suite wpa_suite;
-	struct rsn_mode_t rsn_mode;
+	struct rsn_mode rsn_mode;
 	__le32 val;
 
 	memset(&wpa_suite, 0, sizeof(wpa_suite));
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 04/76] staging: ks7010: Remove trailing _t from 'struct pmk_cache_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 02/76] staging: ks7010: Remove trailing _t from 'struct wpa_suite_t' Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 03/76] staging: ks7010: Remove trailing _t from 'struct rsn_mode_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 05/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_request_t' Quytelda Kahja
                   ` (74 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct pmk_cache_t' with 'struct pmk_cache'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 8c269624401b..b8a9d242e95b 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -2123,7 +2123,7 @@ void hostif_sme_set_key(struct ks_wlan_private *priv, int type)
 static
 void hostif_sme_set_pmksa(struct ks_wlan_private *priv)
 {
-	struct pmk_cache_t {
+	struct pmk_cache {
 		__le16 size;
 		struct {
 			u8 bssid[ETH_ALEN];
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 05/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (2 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 04/76] staging: ks7010: Remove trailing _t from 'struct pmk_cache_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 06/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_indication_t' Quytelda Kahja
                   ` (73 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_data_request_t' with 'struct
hostif_data_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index b8a9d242e95b..9e69009e2911 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1060,7 +1060,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 
 	unsigned char *buffer = NULL;
 	unsigned int length = 0;
-	struct hostif_data_request_t *pp;
+	struct hostif_data_request *pp;
 	unsigned char *p;
 	int result = 0;
 	unsigned short eth_proto;
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 2f918b11b337..036758687b7f 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -67,7 +67,7 @@ struct hostif_hdr {
 	__le16 event;
 } __packed;
 
-struct hostif_data_request_t {
+struct hostif_data_request {
 	struct hostif_hdr header;
 	__le16 auth_type;
 #define TYPE_DATA 0x0000
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 06/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_indication_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (3 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 05/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 07/76] staging: ks7010: Remove trailing _t from 'struct channel_list_t' Quytelda Kahja
                   ` (72 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_data_indication_t' with 'struct
hostif_data_indication'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 036758687b7f..75c630e1f339 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -76,7 +76,7 @@ struct hostif_data_request {
 	u8 data[0];
 } __packed;
 
-struct hostif_data_indication_t {
+struct hostif_data_indication {
 	struct hostif_hdr header;
 	__le16 auth_type;
 /* #define TYPE_DATA 0x0000 */
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 07/76] staging: ks7010: Remove trailing _t from 'struct channel_list_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (4 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 06/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_indication_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 08/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_request_t' Quytelda Kahja
                   ` (71 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct channel_list_t' with 'struct channel_list'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 75c630e1f339..7869c80572bf 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -88,7 +88,7 @@ struct hostif_data_indication {
 } __packed;
 
 #define CHANNEL_LIST_MAX_SIZE 14
-struct channel_list_t {
+struct channel_list {
 	u8 size;
 	u8 body[CHANNEL_LIST_MAX_SIZE];
 	u8 pad;
@@ -385,7 +385,7 @@ struct hostif_infrastructure_set_request_t {
 	struct ssid_t ssid;
 	__le16 beacon_lost_count;
 	__le16 auth_type;
-	struct channel_list_t channel_list;
+	struct channel_list channel_list;
 	u8 bssid[ETH_ALEN];
 } __packed;
 
@@ -420,7 +420,7 @@ struct hostif_adhoc_set2_request_t {
 	struct hostif_request_t request;
 	__le16 reserved;
 	struct ssid_t ssid;
-	struct channel_list_t channel_list;
+	struct channel_list channel_list;
 	u8 bssid[ETH_ALEN];
 } __packed;
 
@@ -468,7 +468,7 @@ struct hostif_bss_scan_request_t {
 	u8 pad[3];
 	__le32 ch_time_min;
 	__le32 ch_time_max;
-	struct channel_list_t channel_list;
+	struct channel_list channel_list;
 	struct ssid_t ssid;
 } __packed;
 
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 08/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (5 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 07/76] staging: ks7010: Remove trailing _t from 'struct channel_list_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 09/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_value_t' Quytelda Kahja
                   ` (70 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mib_get_request_t' with 'struct
hostif_mib_get_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 9e69009e2911..cc1e5f441cf0 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1240,7 +1240,7 @@ static
 void hostif_mib_get_request(struct ks_wlan_private *priv,
 			    unsigned long mib_attribute)
 {
-	struct hostif_mib_get_request_t *pp;
+	struct hostif_mib_get_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_MIB_GET_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 7869c80572bf..6e39d80c6ee9 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -142,7 +142,7 @@ struct channel_list {
 #define LOCAL_GAIN                        0xF10D0100	/* Carrer sense threshold for demo ato show */
 #define LOCAL_EEPROM_SUM                  0xF10E0100	/* EEPROM checksum information */
 
-struct hostif_mib_get_request_t {
+struct hostif_mib_get_request {
 	struct hostif_hdr header;
 	__le32 mib_attribute;
 } __packed;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 09/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_value_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (6 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 08/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 10/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_confirm_t' Quytelda Kahja
                   ` (69 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mib_value_t' with 'struct
hostif_mib_value'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 6e39d80c6ee9..bc6ed9d767a2 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -147,7 +147,7 @@ struct hostif_mib_get_request {
 	__le32 mib_attribute;
 } __packed;
 
-struct hostif_mib_value_t {
+struct hostif_mib_value {
 	__le16 size;
 	__le16 type;
 #define MIB_VALUE_TYPE_NULL     0
@@ -166,13 +166,13 @@ struct hostif_mib_get_confirm_t {
 #define MIB_READ_ONLY  2
 #define MIB_WRITE_ONLY 3
 	__le32 mib_attribute;
-	struct hostif_mib_value_t mib_value;
+	struct hostif_mib_value mib_value;
 } __packed;
 
 struct hostif_mib_set_request_t {
 	struct hostif_hdr header;
 	__le32 mib_attribute;
-	struct hostif_mib_value_t mib_value;
+	struct hostif_mib_value mib_value;
 } __packed;
 
 struct hostif_mib_set_confirm_t {
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 10/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (7 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 09/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_value_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 11/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_request_t' Quytelda Kahja
                   ` (68 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mib_get_confirm_t' with 'struct
hostif_mib_get_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index bc6ed9d767a2..de4e0ed6c576 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -158,7 +158,7 @@ struct hostif_mib_value {
 	u8 body[0];
 } __packed;
 
-struct hostif_mib_get_confirm_t {
+struct hostif_mib_get_confirm {
 	struct hostif_hdr header;
 	__le32 mib_status;
 #define MIB_SUCCESS    0
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 11/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (8 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 10/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t' Quytelda Kahja
                   ` (67 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mib_set_request_t' with 'struct
hostif_mib_set_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index cc1e5f441cf0..6295e01d91da 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1258,7 +1258,7 @@ void hostif_mib_set_request(struct ks_wlan_private *priv,
 			    unsigned long mib_attribute, unsigned short size,
 			    unsigned short type, void *vp)
 {
-	struct hostif_mib_set_request_t *pp;
+	struct hostif_mib_set_request *pp;
 
 	if (priv->dev_state < DEVICE_STATE_BOOT)
 		return;
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index de4e0ed6c576..5261810fbc76 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -169,7 +169,7 @@ struct hostif_mib_get_confirm {
 	struct hostif_mib_value mib_value;
 } __packed;
 
-struct hostif_mib_set_request_t {
+struct hostif_mib_set_request {
 	struct hostif_hdr header;
 	__le32 mib_attribute;
 	struct hostif_mib_value mib_value;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (9 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 11/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:44   ` Joe Perches
  2018-03-30 10:00   ` Greg KH
  2018-03-30  7:07 ` [PATCH 13/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_request_t' Quytelda Kahja
                   ` (66 subsequent siblings)
  77 siblings, 2 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mib_set_confirm_t' with 'struct
hostif_mib_set_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 5261810fbc76..7a0e0c610c50 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -175,7 +175,7 @@ struct hostif_mib_set_request {
 	struct hostif_mib_value mib_value;
 } __packed;
 
-struct hostif_mib_set_confirm_t {
+struct hostif_mib_set_confirm {
 	struct hostif_hdr header;
 	__le32 mib_status;
 	__le32 mib_attribute;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 13/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (10 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 14/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_confirm_t' Quytelda Kahja
                   ` (65 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_power_mgmt_request_t' with 'struct
hostif_power_mgmt_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 6295e01d91da..848307241195 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1464,7 +1464,7 @@ void hostif_power_mgmt_request(struct ks_wlan_private *priv,
 			       unsigned long mode, unsigned long wake_up,
 			       unsigned long receive_dtims)
 {
-	struct hostif_power_mgmt_request_t *pp;
+	struct hostif_power_mgmt_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_POWER_MGMT_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 7a0e0c610c50..cd23ed67cd45 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -181,7 +181,7 @@ struct hostif_mib_set_confirm {
 	__le32 mib_attribute;
 } __packed;
 
-struct hostif_power_mgmt_request_t {
+struct hostif_power_mgmt_request {
 	struct hostif_hdr header;
 	__le32 mode;
 #define POWER_ACTIVE  1
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 14/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (11 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 13/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 15/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_request_t' Quytelda Kahja
                   ` (64 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_power_mgmt_confirm_t' with 'struct
hostif_power_mgmt_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index cd23ed67cd45..e0219fa6d4a8 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -206,7 +206,7 @@ enum power_mgmt_mode_type {
 /* #define	RESULT_ALREADY_RUNNING    3 */
 #define	RESULT_ALREADY_RUNNING    7
 
-struct hostif_power_mgmt_confirm_t {
+struct hostif_power_mgmt_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 15/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (12 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 14/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 16/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_confirm_t' Quytelda Kahja
                   ` (63 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_start_request_t' with 'struct
hostif_start_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 848307241195..9bfef9c9f64b 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1280,7 +1280,7 @@ void hostif_mib_set_request(struct ks_wlan_private *priv,
 static
 void hostif_start_request(struct ks_wlan_private *priv, unsigned char mode)
 {
-	struct hostif_start_request_t *pp;
+	struct hostif_start_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_START_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index e0219fa6d4a8..b8b37afecd8f 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -211,7 +211,7 @@ struct hostif_power_mgmt_confirm {
 	__le16 result_code;
 } __packed;
 
-struct hostif_start_request_t {
+struct hostif_start_request {
 	struct hostif_hdr header;
 	__le16 mode;
 #define MODE_PSEUDO_ADHOC   0
-- 
2.16.3

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

* [PATCH 16/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (13 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 15/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 17/76] staging: ks7010: Remove trailing _t from 'struct ssid_t' Quytelda Kahja
                   ` (62 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_start_confirm_t' with 'struct
hostif_start_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index b8b37afecd8f..fe85e22c4a5e 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -220,7 +220,7 @@ struct hostif_start_request {
 #define MODE_ADHOC          3
 } __packed;
 
-struct hostif_start_confirm_t {
+struct hostif_start_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 17/76] staging: ks7010: Remove trailing _t from 'struct ssid_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (14 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 16/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 18/76] staging: ks7010: Remove trailing _t from 'struct rate_set8_t' Quytelda Kahja
                   ` (61 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct ssid_t' with 'struct ssid'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index fe85e22c4a5e..e87153786d61 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -225,7 +225,7 @@ struct hostif_start_confirm {
 	__le16 result_code;
 } __packed;
 
-struct ssid_t {
+struct ssid {
 	u8 size;
 	u8 body[IEEE80211_MAX_SSID_LEN];
 	u8 ssid_pad;
@@ -382,7 +382,7 @@ struct hostif_ps_adhoc_set_confirm_t {
 struct hostif_infrastructure_set_request_t {
 	struct hostif_hdr header;
 	struct hostif_request_t request;
-	struct ssid_t ssid;
+	struct ssid ssid;
 	__le16 beacon_lost_count;
 	__le16 auth_type;
 	struct channel_list channel_list;
@@ -404,7 +404,7 @@ struct hostif_infrastructure_set_confirm_t {
 struct hostif_adhoc_set_request_t {
 	struct hostif_hdr header;
 	struct hostif_request_t request;
-	struct ssid_t ssid;
+	struct ssid ssid;
 	__le16 channel;
 } __packed;
 
@@ -419,7 +419,7 @@ struct hostif_adhoc_set2_request_t {
 	struct hostif_hdr header;
 	struct hostif_request_t request;
 	__le16 reserved;
-	struct ssid_t ssid;
+	struct ssid ssid;
 	struct channel_list channel_list;
 	u8 bssid[ETH_ALEN];
 } __packed;
@@ -469,7 +469,7 @@ struct hostif_bss_scan_request_t {
 	__le32 ch_time_min;
 	__le32 ch_time_max;
 	struct channel_list channel_list;
-	struct ssid_t ssid;
+	struct ssid ssid;
 } __packed;
 
 struct hostif_bss_scan_confirm_t {
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 18/76] staging: ks7010: Remove trailing _t from 'struct rate_set8_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (15 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 17/76] staging: ks7010: Remove trailing _t from 'struct ssid_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 19/76] staging: ks7010: Remove trailing _t from 'struct fh_parms_t' Quytelda Kahja
                   ` (60 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rate_set8_t' with 'struct rate_set8'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index e87153786d61..aa1f5fefa818 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -232,7 +232,7 @@ struct ssid {
 } __packed;
 
 #define RATE_SET_MAX_SIZE 16
-struct rate_set8_t {
+struct rate_set8 {
 	u8 size;
 	u8 body[8];
 	u8 rate_pad;
@@ -299,14 +299,14 @@ struct link_ap_info_t {
 	u8 pad0;	/* +09 */
 	__le16 beacon_period;	/* +10 */
 	__le16 capability;	/* +12 */
-	struct rate_set8_t rate_set;	/* +14 */
+	struct rate_set8 rate_set;	/* +14 */
 	struct fh_parms_t fh_parameter;	/* +24 */
 	struct ds_parms_t ds_parameter;	/* +29 */
 	struct cf_parms_t cf_parameter;	/* +30 */
 	struct ibss_parms_t ibss_parameter;	/* +36 */
 	struct erp_params_t erp_parameter;	/* +38 */
 	u8 pad1;	/* +39 */
-	struct rate_set8_t ext_rate_set;	/* +40 */
+	struct rate_set8 ext_rate_set;	/* +40 */
 	u8 DTIM_period;	/* +50 */
 	u8 rsn_mode;	/* +51 */
 #define RSN_MODE_NONE	0
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 19/76] staging: ks7010: Remove trailing _t from 'struct fh_parms_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (16 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 18/76] staging: ks7010: Remove trailing _t from 'struct rate_set8_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 20/76] staging: ks7010: Remove trailing _t from 'struct ds_parms_t' Quytelda Kahja
                   ` (59 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct fh_parms_t' with 'struct fh_parms'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index aa1f5fefa818..697cd52292f9 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -238,7 +238,7 @@ struct rate_set8 {
 	u8 rate_pad;
 } __packed;
 
-struct fh_parms_t {
+struct fh_parms {
 	__le16 dwell_time;
 	u8 hop_set;
 	u8 hop_pattern;
@@ -300,7 +300,7 @@ struct link_ap_info_t {
 	__le16 beacon_period;	/* +10 */
 	__le16 capability;	/* +12 */
 	struct rate_set8 rate_set;	/* +14 */
-	struct fh_parms_t fh_parameter;	/* +24 */
+	struct fh_parms fh_parameter;	/* +24 */
 	struct ds_parms_t ds_parameter;	/* +29 */
 	struct cf_parms_t cf_parameter;	/* +30 */
 	struct ibss_parms_t ibss_parameter;	/* +36 */
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 20/76] staging: ks7010: Remove trailing _t from 'struct ds_parms_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (17 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 19/76] staging: ks7010: Remove trailing _t from 'struct fh_parms_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 21/76] staging: ks7010: Remove trailing _t from 'struct cf_parms_t' Quytelda Kahja
                   ` (58 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct ds_parms_t' with 'struct ds_parms'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 697cd52292f9..669453b707ea 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -245,7 +245,7 @@ struct fh_parms {
 	u8 hop_index;
 } __packed;
 
-struct ds_parms_t {
+struct ds_parms {
 	u8 channel;
 } __packed;
 
@@ -301,7 +301,7 @@ struct link_ap_info_t {
 	__le16 capability;	/* +12 */
 	struct rate_set8 rate_set;	/* +14 */
 	struct fh_parms fh_parameter;	/* +24 */
-	struct ds_parms_t ds_parameter;	/* +29 */
+	struct ds_parms ds_parameter;	/* +29 */
 	struct cf_parms_t cf_parameter;	/* +30 */
 	struct ibss_parms_t ibss_parameter;	/* +36 */
 	struct erp_params_t erp_parameter;	/* +38 */
-- 
2.16.3

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

* [PATCH 21/76] staging: ks7010: Remove trailing _t from 'struct cf_parms_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (18 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 20/76] staging: ks7010: Remove trailing _t from 'struct ds_parms_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 22/76] staging: ks7010: Remove trailing _t from 'struct ibss_parms_t' Quytelda Kahja
                   ` (57 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct cf_parms_t' with 'struct cf_parms'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 669453b707ea..f4e7500c07db 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -249,7 +249,7 @@ struct ds_parms {
 	u8 channel;
 } __packed;
 
-struct cf_parms_t {
+struct cf_parms {
 	u8 count;
 	u8 period;
 	__le16 max_duration;
@@ -302,7 +302,7 @@ struct link_ap_info_t {
 	struct rate_set8 rate_set;	/* +14 */
 	struct fh_parms fh_parameter;	/* +24 */
 	struct ds_parms ds_parameter;	/* +29 */
-	struct cf_parms_t cf_parameter;	/* +30 */
+	struct cf_parms cf_parameter;	/* +30 */
 	struct ibss_parms_t ibss_parameter;	/* +36 */
 	struct erp_params_t erp_parameter;	/* +38 */
 	u8 pad1;	/* +39 */
-- 
2.16.3

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

* [PATCH 22/76] staging: ks7010: Remove trailing _t from 'struct ibss_parms_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (19 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 21/76] staging: ks7010: Remove trailing _t from 'struct cf_parms_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 23/76] staging: ks7010: Remove trailing _t from 'struct rsn_t' Quytelda Kahja
                   ` (56 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct ibss_parms_t' with 'struct ibss_parms'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index f4e7500c07db..8a203d759aa1 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -256,7 +256,7 @@ struct cf_parms {
 	__le16 dur_remaining;
 } __packed;
 
-struct ibss_parms_t {
+struct ibss_parms {
 	__le16 atim_window;
 } __packed;
 
@@ -303,7 +303,7 @@ struct link_ap_info_t {
 	struct fh_parms fh_parameter;	/* +24 */
 	struct ds_parms ds_parameter;	/* +29 */
 	struct cf_parms cf_parameter;	/* +30 */
-	struct ibss_parms_t ibss_parameter;	/* +36 */
+	struct ibss_parms ibss_parameter;	/* +36 */
 	struct erp_params_t erp_parameter;	/* +38 */
 	u8 pad1;	/* +39 */
 	struct rate_set8 ext_rate_set;	/* +40 */
-- 
2.16.3

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

* [PATCH 23/76] staging: ks7010: Remove trailing _t from 'struct rsn_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (20 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 22/76] staging: ks7010: Remove trailing _t from 'struct ibss_parms_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 24/76] staging: ks7010: Remove trailing _t from 'struct erp_params_t' Quytelda Kahja
                   ` (55 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rsn_t' with 'struct rsn'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 8a203d759aa1..548ad0e8a5f0 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -260,7 +260,7 @@ struct ibss_parms {
 	__le16 atim_window;
 } __packed;
 
-struct rsn_t {
+struct rsn {
 	u8 size;
 #define RSN_BODY_SIZE 64
 	u8 body[RSN_BODY_SIZE];
-- 
2.16.3

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

* [PATCH 24/76] staging: ks7010: Remove trailing _t from 'struct erp_params_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (21 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 23/76] staging: ks7010: Remove trailing _t from 'struct rsn_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 25/76] staging: ks7010: Remove trailing _t from 'struct rate_set16_t' Quytelda Kahja
                   ` (54 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct erp_params_t' with 'struct erp_params'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 548ad0e8a5f0..4d25801ab38e 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -266,7 +266,7 @@ struct rsn {
 	u8 body[RSN_BODY_SIZE];
 } __packed;
 
-struct erp_params_t {
+struct erp_params {
 	u8 erp_info;
 } __packed;
 
@@ -304,7 +304,7 @@ struct link_ap_info_t {
 	struct ds_parms ds_parameter;	/* +29 */
 	struct cf_parms cf_parameter;	/* +30 */
 	struct ibss_parms ibss_parameter;	/* +36 */
-	struct erp_params_t erp_parameter;	/* +38 */
+	struct erp_params erp_parameter;	/* +38 */
 	u8 pad1;	/* +39 */
 	struct rate_set8 ext_rate_set;	/* +40 */
 	u8 DTIM_period;	/* +50 */
-- 
2.16.3

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

* [PATCH 25/76] staging: ks7010: Remove trailing _t from 'struct rate_set16_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (22 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 24/76] staging: ks7010: Remove trailing _t from 'struct erp_params_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 26/76] staging: ks7010: Remove trailing _t from 'struct ap_info_t' Quytelda Kahja
                   ` (53 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rate_set16_t' with 'struct rate_set16'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 4d25801ab38e..e68bf18e6a82 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -270,7 +270,7 @@ struct erp_params {
 	u8 erp_info;
 } __packed;
 
-struct rate_set16_t {
+struct rate_set16 {
 	u8 size;
 	u8 body[16];
 	u8 rate_pad;
@@ -348,7 +348,7 @@ struct hostif_request_t {
 	__le16 cts_mode;
 	__le16 scan_type;
 	__le16 capability;
-	struct rate_set16_t rate_set;
+	struct rate_set16 rate_set;
 } __packed;
 
 /**
-- 
2.16.3

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

* [PATCH 26/76] staging: ks7010: Remove trailing _t from 'struct ap_info_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (23 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 25/76] staging: ks7010: Remove trailing _t from 'struct rate_set16_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 27/76] staging: ks7010: Remove trailing _t from 'struct link_ap_info_t' Quytelda Kahja
                   ` (52 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct ap_info_t' with 'struct ap_info'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 8 ++++----
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 9bfef9c9f64b..c9cf61efaf5a 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -223,7 +223,7 @@ static u8 read_ie(unsigned char *bp, u8 max, u8 *body)
 
 
 static
-int get_ap_information(struct ks_wlan_private *priv, struct ap_info_t *ap_info,
+int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
 		       struct local_ap_t *ap)
 {
 	unsigned char *bp;
@@ -771,10 +771,10 @@ static
 void hostif_scan_indication(struct ks_wlan_private *priv)
 {
 	int i;
-	struct ap_info_t *ap_info;
+	struct ap_info *ap_info;
 
 	netdev_dbg(priv->net_dev, "scan_ind_count = %d\n", priv->scan_ind_count);
-	ap_info = (struct ap_info_t *)(priv->rxp);
+	ap_info = (struct ap_info *)(priv->rxp);
 
 	if (priv->scan_ind_count) {
 		/* bssid check */
@@ -794,7 +794,7 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
 	if (priv->scan_ind_count < LOCAL_APLIST_MAX + 1) {
 		netdev_dbg(priv->net_dev, " scan_ind_count=%d :: aplist.size=%d\n",
 			priv->scan_ind_count, priv->aplist.size);
-		get_ap_information(priv, (struct ap_info_t *)(priv->rxp),
+		get_ap_information(priv, (struct ap_info *)(priv->rxp),
 				   &(priv->aplist.ap[priv->scan_ind_count - 1]));
 		priv->aplist.size = priv->scan_ind_count;
 	} else {
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index e68bf18e6a82..fbc8e58eb544 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -276,7 +276,7 @@ struct rate_set16 {
 	u8 rate_pad;
 } __packed;
 
-struct ap_info_t {
+struct ap_info {
 	u8 bssid[6];	/* +00 */
 	u8 rssi;	/* +06 */
 	u8 sq;	/* +07 */
-- 
2.16.3

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

* [PATCH 27/76] staging: ks7010: Remove trailing _t from 'struct link_ap_info_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (24 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 26/76] staging: ks7010: Remove trailing _t from 'struct ap_info_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t' Quytelda Kahja
                   ` (51 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct link_ap_info_t' with 'struct link_ap_info'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index c9cf61efaf5a..27db9732d9c3 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -107,7 +107,7 @@ int ks_wlan_do_power_save(struct ks_wlan_private *priv)
 }
 
 static
-int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info_t *ap_info)
+int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info *ap_info)
 {
 	struct local_ap_t *ap;
 	union iwreq_data wrqu;
@@ -745,7 +745,7 @@ void hostif_connect_indication(struct ks_wlan_private *priv)
 		break;
 	}
 
-	get_current_ap(priv, (struct link_ap_info_t *)priv->rxp);
+	get_current_ap(priv, (struct link_ap_info *)priv->rxp);
 	if (is_connect_status(priv->connect_status) &&
 	    is_disconnect_status(old_status)) {
 		/* for power save */
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index fbc8e58eb544..46b19ddd23a0 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -291,7 +291,7 @@ struct ap_info {
 	/* +1032 */
 } __packed;
 
-struct link_ap_info_t {
+struct link_ap_info {
 	u8 bssid[6];	/* +00 */
 	u8 rssi;	/* +06 */
 	u8 sq;	/* +07 */
@@ -323,7 +323,7 @@ struct hostif_connect_indication_t {
 	__le16 connect_code;
 #define RESULT_CONNECT    0
 #define RESULT_DISCONNECT 1
-	struct link_ap_info_t link_ap_info;
+	struct link_ap_info link_ap_info;
 } __packed;
 
 struct hostif_stop_request_t {
-- 
2.16.3

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

* [PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (25 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 27/76] staging: ks7010: Remove trailing _t from 'struct link_ap_info_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 29/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_request_t' Quytelda Kahja
                   ` (50 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_connect_indication_t' with 'struct
hostif_connect_indication'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 46b19ddd23a0..7dba1f46da44 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -318,7 +318,7 @@ struct link_ap_info {
 	} __packed rsn;
 } __packed;
 
-struct hostif_connect_indication_t {
+struct hostif_connect_indication {
 	struct hostif_hdr header;
 	__le16 connect_code;
 #define RESULT_CONNECT    0
-- 
2.16.3

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

* [PATCH 29/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (26 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 30/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_confirm_t' Quytelda Kahja
                   ` (49 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_stop_request_t' with 'struct
hostif_stop_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks7010_sdio.c | 2 +-
 drivers/staging/ks7010/ks_hostif.c   | 2 +-
 drivers/staging/ks7010/ks_hostif.h   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index b8f55a11ee1c..d083bf8d238e 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -950,7 +950,7 @@ static int ks7010_sdio_probe(struct sdio_func *func,
 /* send stop request to MAC */
 static int send_stop_request(struct sdio_func *func)
 {
-	struct hostif_stop_request_t *pp;
+	struct hostif_stop_request *pp;
 	struct ks_sdio_card *card;
 	size_t size;
 
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 27db9732d9c3..5c78f94e6f72 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1426,7 +1426,7 @@ void hostif_adhoc_set2_request(struct ks_wlan_private *priv)
 static
 void hostif_stop_request(struct ks_wlan_private *priv)
 {
-	struct hostif_stop_request_t *pp;
+	struct hostif_stop_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_STOP_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 7dba1f46da44..03e15fc591ea 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -326,7 +326,7 @@ struct hostif_connect_indication {
 	struct link_ap_info link_ap_info;
 } __packed;
 
-struct hostif_stop_request_t {
+struct hostif_stop_request {
 	struct hostif_hdr header;
 } __packed;
 
-- 
2.16.3

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

* [PATCH 30/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (27 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 29/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 31/76] staging: ks7010: Remove trailing _t from 'struct hostif_request_t' Quytelda Kahja
                   ` (48 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_stop_confirm_t' with 'struct
hostif_stop_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 03e15fc591ea..615e2ed979e1 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -330,7 +330,7 @@ struct hostif_stop_request {
 	struct hostif_hdr header;
 } __packed;
 
-struct hostif_stop_confirm_t {
+struct hostif_stop_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 31/76] staging: ks7010: Remove trailing _t from 'struct hostif_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (28 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 30/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 32/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_request_t' Quytelda Kahja
                   ` (47 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_request_t' with 'struct hostif_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c |  2 +-
 drivers/staging/ks7010/ks_hostif.h | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 5c78f94e6f72..9798e2427f36 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1313,7 +1313,7 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv)
 	return cpu_to_le16((uint16_t)capability);
 }
 
-static void init_request(struct ks_wlan_private *priv, struct hostif_request_t *req)
+static void init_request(struct ks_wlan_private *priv, struct hostif_request *req)
 {
 	req->phy_type = cpu_to_le16((uint16_t)(priv->reg.phy_type));
 	req->cts_mode = cpu_to_le16((uint16_t)(priv->reg.cts_mode));
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 615e2ed979e1..ad42c35d0f2d 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -343,7 +343,7 @@ struct hostif_stop_confirm {
 #define CTS_MODE_FALSE	0
 #define CTS_MODE_TRUE	1
 
-struct hostif_request_t {
+struct hostif_request {
 	__le16 phy_type;
 	__le16 cts_mode;
 	__le16 scan_type;
@@ -360,7 +360,7 @@ struct hostif_request_t {
  */
 struct hostif_ps_adhoc_set_request_t {
 	struct hostif_hdr header;
-	struct hostif_request_t request;
+	struct hostif_request request;
 	__le16 channel;
 } __packed;
 
@@ -381,7 +381,7 @@ struct hostif_ps_adhoc_set_confirm_t {
  */
 struct hostif_infrastructure_set_request_t {
 	struct hostif_hdr header;
-	struct hostif_request_t request;
+	struct hostif_request request;
 	struct ssid ssid;
 	__le16 beacon_lost_count;
 	__le16 auth_type;
@@ -403,7 +403,7 @@ struct hostif_infrastructure_set_confirm_t {
  */
 struct hostif_adhoc_set_request_t {
 	struct hostif_hdr header;
-	struct hostif_request_t request;
+	struct hostif_request request;
 	struct ssid ssid;
 	__le16 channel;
 } __packed;
@@ -417,7 +417,7 @@ struct hostif_adhoc_set_request_t {
  */
 struct hostif_adhoc_set2_request_t {
 	struct hostif_hdr header;
-	struct hostif_request_t request;
+	struct hostif_request request;
 	__le16 reserved;
 	struct ssid ssid;
 	struct channel_list channel_list;
-- 
2.16.3

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

* [PATCH 32/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (29 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 31/76] staging: ks7010: Remove trailing _t from 'struct hostif_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 33/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_confirm_t' Quytelda Kahja
                   ` (46 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_ps_adhoc_set_request_t' with 'struct
hostif_ps_adhoc_set_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 9798e2427f36..8be5d64f291b 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1327,7 +1327,7 @@ static void init_request(struct ks_wlan_private *priv, struct hostif_request *re
 static
 void hostif_ps_adhoc_set_request(struct ks_wlan_private *priv)
 {
-	struct hostif_ps_adhoc_set_request_t *pp;
+	struct hostif_ps_adhoc_set_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_PS_ADH_SET_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index ad42c35d0f2d..665114736d17 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -352,13 +352,13 @@ struct hostif_request {
 } __packed;
 
 /**
- * struct hostif_ps_adhoc_set_request_t - pseudo adhoc mode
+ * struct hostif_ps_adhoc_set_request - pseudo adhoc mode
  * @capability: bit5  : preamble
  *              bit6  : pbcc - Not supported always 0
  *              bit10 : ShortSlotTime
  *              bit13 : DSSS-OFDM - Not supported always 0
  */
-struct hostif_ps_adhoc_set_request_t {
+struct hostif_ps_adhoc_set_request {
 	struct hostif_hdr header;
 	struct hostif_request request;
 	__le16 channel;
-- 
2.16.3

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

* [PATCH 33/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (30 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 32/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 34/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_t' Quytelda Kahja
                   ` (45 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_ps_adhoc_set_confirm_t' with 'struct
hostif_ps_adhoc_set_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 665114736d17..be33a704c7c4 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -364,7 +364,7 @@ struct hostif_ps_adhoc_set_request {
 	__le16 channel;
 } __packed;
 
-struct hostif_ps_adhoc_set_confirm_t {
+struct hostif_ps_adhoc_set_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 34/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (31 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 33/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 35/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_confirm_t' Quytelda Kahja
                   ` (44 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_infrastructure_set_request_t' with
'struct hostif_infrastructure_set_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 8be5d64f291b..3d6ba74cc3e5 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1344,7 +1344,7 @@ void hostif_ps_adhoc_set_request(struct ks_wlan_private *priv)
 static
 void hostif_infrastructure_set_request(struct ks_wlan_private *priv, int event)
 {
-	struct hostif_infrastructure_set_request_t *pp;
+	struct hostif_infrastructure_set_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), event);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index be33a704c7c4..1d79f07f12cc 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -373,13 +373,13 @@ struct hostif_ps_adhoc_set_confirm {
 #define AUTH_TYPE_SHARED_KEY  1
 
 /**
- * struct hostif_infrastructure_set_request_t
+ * struct hostif_infrastructure_set_request
  * @capability: bit5  : preamble
  *              bit6  : pbcc - Not supported always 0
  *              bit10 : ShortSlotTime
  *              bit13 : DSSS-OFDM - Not supported always 0
  */
-struct hostif_infrastructure_set_request_t {
+struct hostif_infrastructure_set_request {
 	struct hostif_hdr header;
 	struct hostif_request request;
 	struct ssid ssid;
-- 
2.16.3

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

* [PATCH 35/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (32 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 34/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:07 ` [PATCH 36/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_request_t' Quytelda Kahja
                   ` (43 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_infrastructure_set_confirm_t' with
'struct hostif_infrastructure_set_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 1d79f07f12cc..9deb53edb344 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -389,7 +389,7 @@ struct hostif_infrastructure_set_request {
 	u8 bssid[ETH_ALEN];
 } __packed;
 
-struct hostif_infrastructure_set_confirm_t {
+struct hostif_infrastructure_set_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 36/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (33 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 35/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_confirm_t' Quytelda Kahja
@ 2018-03-30  7:07 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 37/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set2_request_t' Quytelda Kahja
                   ` (42 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:07 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_adhoc_set_request_t' with 'struct
hostif_adhoc_set_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 3d6ba74cc3e5..de56cda64bb9 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1385,7 +1385,7 @@ void hostif_infrastructure_set_request(struct ks_wlan_private *priv, int event)
 static
 void hostif_adhoc_set_request(struct ks_wlan_private *priv)
 {
-	struct hostif_adhoc_set_request_t *pp;
+	struct hostif_adhoc_set_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_ADH_SET_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 9deb53edb344..25a00a8f35d8 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -395,13 +395,13 @@ struct hostif_infrastructure_set_confirm {
 } __packed;
 
 /**
- * struct hostif_adhoc_set_request_t
+ * struct hostif_adhoc_set_request
  * @capability: bit5  : preamble
  *              bit6  : pbcc - Not supported always 0
  *              bit10 : ShortSlotTime
  *              bit13 : DSSS-OFDM - Not supported always 0
  */
-struct hostif_adhoc_set_request_t {
+struct hostif_adhoc_set_request {
 	struct hostif_hdr header;
 	struct hostif_request request;
 	struct ssid ssid;
-- 
2.16.3

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

* [PATCH 37/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set2_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (34 preceding siblings ...)
  2018-03-30  7:07 ` [PATCH 36/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 38/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_confirm_t' Quytelda Kahja
                   ` (41 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_adhoc_set2_request_t' with 'struct
hostif_adhoc_set2_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index de56cda64bb9..a177496dd42a 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1404,7 +1404,7 @@ void hostif_adhoc_set_request(struct ks_wlan_private *priv)
 static
 void hostif_adhoc_set2_request(struct ks_wlan_private *priv)
 {
-	struct hostif_adhoc_set2_request_t *pp;
+	struct hostif_adhoc_set2_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_ADH_SET_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 25a00a8f35d8..9ba350ec64ba 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -409,13 +409,13 @@ struct hostif_adhoc_set_request {
 } __packed;
 
 /**
- * struct hostif_adhoc_set2_request_t
+ * struct hostif_adhoc_set2_request
  * @capability: bit5  : preamble
  *              bit6  : pbcc - Not supported always 0
  *              bit10 : ShortSlotTime
  *              bit13 : DSSS-OFDM - Not supported always 0
  */
-struct hostif_adhoc_set2_request_t {
+struct hostif_adhoc_set2_request {
 	struct hostif_hdr header;
 	struct hostif_request request;
 	__le16 reserved;
-- 
2.16.3

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

* [PATCH 38/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (35 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 37/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set2_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 39/76] staging: ks7010: Remove trailing _t from 'struct last_associate_t' Quytelda Kahja
                   ` (40 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_adhoc_set_confirm_t' with 'struct
hostif_adhoc_set_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 9ba350ec64ba..e599ab1d9f15 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -424,7 +424,7 @@ struct hostif_adhoc_set2_request {
 	u8 bssid[ETH_ALEN];
 } __packed;
 
-struct hostif_adhoc_set_confirm_t {
+struct hostif_adhoc_set_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 39/76] staging: ks7010: Remove trailing _t from 'struct last_associate_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (36 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 38/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_confirm_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 40/76] staging: ks7010: Remove trailing _t from 'struct association_request_t' Quytelda Kahja
                   ` (39 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct last_associate_t' with 'struct last_associate'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index e599ab1d9f15..02046ab78a36 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -429,7 +429,7 @@ struct hostif_adhoc_set_confirm {
 	__le16 result_code;
 } __packed;
 
-struct last_associate_t {
+struct last_associate {
 	u8 type;
 	u8 status;
 } __packed;
-- 
2.16.3

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

* [PATCH 40/76] staging: ks7010: Remove trailing _t from 'struct association_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (37 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 39/76] staging: ks7010: Remove trailing _t from 'struct last_associate_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 41/76] staging: ks7010: Remove trailing _t from 'struct association_response_t' Quytelda Kahja
                   ` (38 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct association_request_t' with 'struct
association_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index a177496dd42a..43d06fdda9de 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -863,7 +863,7 @@ void hostif_adhoc_set_confirm(struct ks_wlan_private *priv)
 static
 void hostif_associate_indication(struct ks_wlan_private *priv)
 {
-	struct association_request_t *assoc_req;
+	struct association_request *assoc_req;
 	struct association_response_t *assoc_resp;
 	unsigned char *pb;
 	union iwreq_data wrqu;
@@ -874,7 +874,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
 	static const char associnfo_leader0[] = "ASSOCINFO(ReqIEs=";
 	static const char associnfo_leader1[] = " RespIEs=";
 
-	assoc_req = (struct association_request_t *)(priv->rxp);
+	assoc_req = (struct association_request *)(priv->rxp);
 	assoc_resp = (struct association_response_t *)(assoc_req + 1);
 	pb = (unsigned char *)(assoc_resp + 1);
 
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 02046ab78a36..a1fea8eb89cc 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -434,7 +434,7 @@ struct last_associate {
 	u8 status;
 } __packed;
 
-struct association_request_t {
+struct association_request {
 	u8 type;
 	u8 pad;
 	__le16 capability;
@@ -454,7 +454,7 @@ struct association_response_t {
 
 struct hostif_associate_indication_t {
 	struct hostif_hdr header;
-	struct association_request_t assoc_req;
+	struct association_request assoc_req;
 	struct association_response_t assoc_resp;
 	/* followed by (req_ies_size + resp_ies_size) octets of data */
 	/* reqIEs data *//* respIEs data */
-- 
2.16.3

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

* [PATCH 41/76] staging: ks7010: Remove trailing _t from 'struct association_response_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (38 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 40/76] staging: ks7010: Remove trailing _t from 'struct association_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 42/76] staging: ks7010: Remove trailing _t from 'struct hostif_associate_indication_t' Quytelda Kahja
                   ` (37 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct association_response_t' with 'struct
association_response'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 drivers/staging/ks7010/ks_hostif.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 43d06fdda9de..e733a77269df 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -864,7 +864,7 @@ static
 void hostif_associate_indication(struct ks_wlan_private *priv)
 {
 	struct association_request *assoc_req;
-	struct association_response_t *assoc_resp;
+	struct association_response *assoc_resp;
 	unsigned char *pb;
 	union iwreq_data wrqu;
 	char buf[IW_CUSTOM_MAX];
@@ -875,7 +875,7 @@ void hostif_associate_indication(struct ks_wlan_private *priv)
 	static const char associnfo_leader1[] = " RespIEs=";
 
 	assoc_req = (struct association_request *)(priv->rxp);
-	assoc_resp = (struct association_response_t *)(assoc_req + 1);
+	assoc_resp = (struct association_response *)(assoc_req + 1);
 	pb = (unsigned char *)(assoc_resp + 1);
 
 	memset(&wrqu, 0, sizeof(wrqu));
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index a1fea8eb89cc..566637b9ac15 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -443,7 +443,7 @@ struct association_request {
 	__le16 req_ies_size;
 } __packed;
 
-struct association_response_t {
+struct association_response {
 	u8 type;
 	u8 pad;
 	__le16 capability;
@@ -455,7 +455,7 @@ struct association_response_t {
 struct hostif_associate_indication_t {
 	struct hostif_hdr header;
 	struct association_request assoc_req;
-	struct association_response_t assoc_resp;
+	struct association_response assoc_resp;
 	/* followed by (req_ies_size + resp_ies_size) octets of data */
 	/* reqIEs data *//* respIEs data */
 } __packed;
-- 
2.16.3

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

* [PATCH 42/76] staging: ks7010: Remove trailing _t from 'struct hostif_associate_indication_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (39 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 41/76] staging: ks7010: Remove trailing _t from 'struct association_response_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 43/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_request_t' Quytelda Kahja
                   ` (36 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_associate_indication_t' with 'struct
hostif_associate_indication'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 566637b9ac15..81f12b41830e 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -452,7 +452,7 @@ struct association_response {
 	__le16 resp_ies_size;
 } __packed;
 
-struct hostif_associate_indication_t {
+struct hostif_associate_indication {
 	struct hostif_hdr header;
 	struct association_request assoc_req;
 	struct association_response assoc_resp;
-- 
2.16.3

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

* [PATCH 43/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (40 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 42/76] staging: ks7010: Remove trailing _t from 'struct hostif_associate_indication_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 44/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_confirm_t' Quytelda Kahja
                   ` (35 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_bss_scan_request_t' with 'struct
hostif_bss_scan_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index e733a77269df..aa827949db7e 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1508,7 +1508,7 @@ void hostif_bss_scan_request(struct ks_wlan_private *priv,
 			     unsigned long scan_type, uint8_t *scan_ssid,
 			     uint8_t scan_ssid_len)
 {
-	struct hostif_bss_scan_request_t *pp;
+	struct hostif_bss_scan_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_SCAN_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 81f12b41830e..23ed10674162 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -460,7 +460,7 @@ struct hostif_associate_indication {
 	/* reqIEs data *//* respIEs data */
 } __packed;
 
-struct hostif_bss_scan_request_t {
+struct hostif_bss_scan_request {
 	struct hostif_hdr header;
 	u8 scan_type;
 #define ACTIVE_SCAN  0
-- 
2.16.3

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

* [PATCH 44/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (41 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 43/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 45/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_request_t' Quytelda Kahja
                   ` (34 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_bss_scan_confirm_t' with 'struct
hostif_bss_scan_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 23ed10674162..2c1bfc9e8610 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -472,7 +472,7 @@ struct hostif_bss_scan_request {
 	struct ssid ssid;
 } __packed;
 
-struct hostif_bss_scan_confirm_t {
+struct hostif_bss_scan_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 	__le16 reserved;
-- 
2.16.3

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

* [PATCH 45/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (42 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 44/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_confirm_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t' Quytelda Kahja
                   ` (33 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_phy_information_request_t' with 'struct
hostif_phy_information_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index aa827949db7e..4bd8a285eac5 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1440,7 +1440,7 @@ void hostif_stop_request(struct ks_wlan_private *priv)
 static
 void hostif_phy_information_request(struct ks_wlan_private *priv)
 {
-	struct hostif_phy_information_request_t *pp;
+	struct hostif_phy_information_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_PHY_INFO_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 2c1bfc9e8610..831c02d6e791 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -478,7 +478,7 @@ struct hostif_bss_scan_confirm {
 	__le16 reserved;
 } __packed;
 
-struct hostif_phy_information_request_t {
+struct hostif_phy_information_request {
 	struct hostif_hdr header;
 	__le16 type;
 #define NORMAL_TYPE	0
-- 
2.16.3

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

* [PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (43 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 45/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 47/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t' Quytelda Kahja
                   ` (32 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_phy_information_confirm_t' with 'struct
hostif_phy_information_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 831c02d6e791..f6b4b3eecf2b 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -486,7 +486,7 @@ struct hostif_phy_information_request {
 	__le16 time;	/* unit 100ms */
 } __packed;
 
-struct hostif_phy_information_confirm_t {
+struct hostif_phy_information_confirm {
 	struct hostif_hdr header;
 	u8 rssi;
 	u8 sq;
-- 
2.16.3

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

* [PATCH 47/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (44 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 48/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_confirm_t' Quytelda Kahja
                   ` (31 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_sleep_request_t' with 'struct
hostif_sleep_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 4bd8a285eac5..cb768e861b07 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1483,7 +1483,7 @@ static
 void hostif_sleep_request(struct ks_wlan_private *priv,
 			  enum sleep_mode_type mode)
 {
-	struct hostif_sleep_request_t *pp;
+	struct hostif_sleep_request *pp;
 
 	if (mode == SLP_SLEEP) {
 		pp = hostif_generic_request(sizeof(*pp), HIF_SLEEP_REQ);
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index f6b4b3eecf2b..f570c6d84970 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -503,7 +503,7 @@ enum sleep_mode_type {
 	SLP_SLEEP
 };
 
-struct hostif_sleep_request_t {
+struct hostif_sleep_request {
 	struct hostif_hdr header;
 } __packed;
 
-- 
2.16.3

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

* [PATCH 48/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (45 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 47/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 49/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_request_t' Quytelda Kahja
                   ` (30 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_sleep_confirm_t' with 'struct
hostif_sleep_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index f570c6d84970..c34bcc7d9a0b 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -507,7 +507,7 @@ struct hostif_sleep_request {
 	struct hostif_hdr header;
 } __packed;
 
-struct hostif_sleep_confirm_t {
+struct hostif_sleep_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 49/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_request_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (46 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 48/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_confirm_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 50/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_confirm_t' Quytelda Kahja
                   ` (29 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mic_failure_request_t' with 'struct
hostif_mic_failure_request'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index cb768e861b07..2f732d8bcc4f 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -1558,7 +1558,7 @@ void hostif_mic_failure_request(struct ks_wlan_private *priv,
 				unsigned short failure_count,
 				unsigned short timer)
 {
-	struct hostif_mic_failure_request_t *pp;
+	struct hostif_mic_failure_request *pp;
 
 	pp = hostif_generic_request(sizeof(*pp), HIF_MIC_FAILURE_REQ);
 	if (!pp)
diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index c34bcc7d9a0b..659e2b895bff 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -512,7 +512,7 @@ struct hostif_sleep_confirm {
 	__le16 result_code;
 } __packed;
 
-struct hostif_mic_failure_request_t {
+struct hostif_mic_failure_request {
 	struct hostif_hdr header;
 	__le16 failure_count;
 	__le16 timer;
-- 
2.16.3

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

* [PATCH 50/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_confirm_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (47 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 49/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_request_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 51/76] staging: ks7010: Remove trailing _t from 'struct hostt_t' Quytelda Kahja
                   ` (28 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostif_mic_failure_confirm_t' with 'struct
hostif_mic_failure_confirm'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
index 659e2b895bff..f67f4c2b0730 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -518,7 +518,7 @@ struct hostif_mic_failure_request {
 	__le16 timer;
 } __packed;
 
-struct hostif_mic_failure_confirm_t {
+struct hostif_mic_failure_confirm {
 	struct hostif_hdr header;
 	__le16 result_code;
 } __packed;
-- 
2.16.3

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

* [PATCH 51/76] staging: ks7010: Remove trailing _t from 'struct hostt_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (48 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 50/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_confirm_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 52/76] staging: ks7010: Remove trailing _t from 'struct rsn_ie_t' Quytelda Kahja
                   ` (27 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct hostt_t' with 'struct hostt'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 1b7036c32d1c..3ea62b708b01 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -196,7 +196,7 @@ struct sme_info {
 	unsigned long sme_flag;
 };
 
-struct hostt_t {
+struct hostt {
 	int buff[SME_EVENT_BUFF_SIZE];
 	unsigned int qhead;
 	unsigned int qtail;
@@ -483,7 +483,7 @@ struct ks_wlan_private {
 	struct local_eeprom_sum_t eeprom_sum;
 	u8 eeprom_checksum;
 
-	struct hostt_t hostt;
+	struct hostt hostt;
 
 	unsigned long last_doze;
 	unsigned long last_wakeup;
-- 
2.16.3

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

* [PATCH 52/76] staging: ks7010: Remove trailing _t from 'struct rsn_ie_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (49 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 51/76] staging: ks7010: Remove trailing _t from 'struct hostt_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 53/76] staging: ks7010: Remove trailing _t from 'struct wps_ie_t' Quytelda Kahja
                   ` (26 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct rsn_ie_t' with 'struct rsn_ie'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 3ea62b708b01..10ff4460594f 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -203,7 +203,7 @@ struct hostt {
 };
 
 #define RSN_IE_BODY_MAX 64
-struct rsn_ie_t {
+struct rsn_ie {
 	u8 id;	/* 0xdd = WPA or 0x30 = RSN */
 	u8 size;	/* max ? 255 ? */
 	u8 body[RSN_IE_BODY_MAX];
@@ -235,8 +235,8 @@ struct local_ap_t {
 	u16 capability;
 	u8 channel;
 	u8 noise;
-	struct rsn_ie_t wpa_ie;
-	struct rsn_ie_t rsn_ie;
+	struct rsn_ie wpa_ie;
+	struct rsn_ie rsn_ie;
 #ifdef WPS
 	struct wps_ie_t wps_ie;
 #endif /* WPS */
-- 
2.16.3

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

* [PATCH 53/76] staging: ks7010: Remove trailing _t from 'struct wps_ie_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (50 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 52/76] staging: ks7010: Remove trailing _t from 'struct rsn_ie_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t' Quytelda Kahja
                   ` (25 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct wps_ie_t' with 'struct wps_ie'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 10ff4460594f..30d81f9456b7 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -211,7 +211,7 @@ struct rsn_ie {
 
 #ifdef WPS
 #define WPS_IE_BODY_MAX 255
-struct wps_ie_t {
+struct wps_ie {
 	u8 id;	/* 221 'dd <len> 00 50 F2 04' */
 	u8 size;	/* max ? 255 ? */
 	u8 body[WPS_IE_BODY_MAX];
@@ -238,7 +238,7 @@ struct local_ap_t {
 	struct rsn_ie wpa_ie;
 	struct rsn_ie rsn_ie;
 #ifdef WPS
-	struct wps_ie_t wps_ie;
+	struct wps_ie wps_ie;
 #endif /* WPS */
 };
 
-- 
2.16.3

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

* [PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (51 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 53/76] staging: ks7010: Remove trailing _t from 'struct wps_ie_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 55/76] staging: ks7010: Remove trailing _t from 'struct local_aplist_t' Quytelda Kahja
                   ` (24 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct local_ap_t' with 'struct local_ap'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   | 10 +++++-----
 drivers/staging/ks7010/ks_wlan.h     |  6 +++---
 drivers/staging/ks7010/ks_wlan_net.c |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 2f732d8bcc4f..0e6f9e954a36 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -109,14 +109,14 @@ int ks_wlan_do_power_save(struct ks_wlan_private *priv)
 static
 int get_current_ap(struct ks_wlan_private *priv, struct link_ap_info *ap_info)
 {
-	struct local_ap_t *ap;
+	struct local_ap *ap;
 	union iwreq_data wrqu;
 	struct net_device *netdev = priv->net_dev;
 
 	ap = &priv->current_ap;
 
 	if (is_disconnect_status(priv->connect_status)) {
-		memset(ap, 0, sizeof(struct local_ap_t));
+		memset(ap, 0, sizeof(struct local_ap));
 		return -EPERM;
 	}
 
@@ -224,12 +224,12 @@ static u8 read_ie(unsigned char *bp, u8 max, u8 *body)
 
 static
 int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
-		       struct local_ap_t *ap)
+		       struct local_ap *ap)
 {
 	unsigned char *bp;
 	int bsize, offset;
 
-	memset(ap, 0, sizeof(struct local_ap_t));
+	memset(ap, 0, sizeof(struct local_ap));
 
 	/* bssid */
 	memcpy(ap->bssid, ap_info->bssid, ETH_ALEN);
@@ -2359,7 +2359,7 @@ void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event)
 
 static inline void hostif_aplist_init(struct ks_wlan_private *priv)
 {
-	size_t size = LOCAL_APLIST_MAX * sizeof(struct local_ap_t);
+	size_t size = LOCAL_APLIST_MAX * sizeof(struct local_ap);
 	priv->aplist.size = 0;
 	memset(&priv->aplist.ap[0], 0, size);
 }
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 30d81f9456b7..3104ff92c453 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -218,7 +218,7 @@ struct wps_ie {
 } __packed;
 #endif /* WPS */
 
-struct local_ap_t {
+struct local_ap {
 	u8 bssid[6];
 	u8 rssi;
 	u8 sq;
@@ -246,7 +246,7 @@ struct local_ap_t {
 #define LOCAL_CURRENT_AP LOCAL_APLIST_MAX
 struct local_aplist_t {
 	int size;
-	struct local_ap_t ap[LOCAL_APLIST_MAX + 1];
+	struct local_ap ap[LOCAL_APLIST_MAX + 1];
 };
 
 struct local_gain_t {
@@ -424,7 +424,7 @@ struct ks_wlan_private {
 	unsigned char eth_addr[ETH_ALEN];
 
 	struct local_aplist_t aplist;
-	struct local_ap_t current_ap;
+	struct local_ap current_ap;
 	struct power_save_status_t psstatus;
 	struct sleep_status_t sleepstatus;
 	struct wpa_status_t wpa;
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 533feef604a9..a4f10bec865f 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -1301,7 +1301,7 @@ static int ks_wlan_set_scan(struct net_device *dev,
 static inline char *ks_wlan_translate_scan(struct net_device *dev,
 					   struct iw_request_info *info,
 					   char *current_ev, char *end_buf,
-					   struct local_ap_t *ap)
+					   struct local_ap *ap)
 {
 	/* struct ks_wlan_private *priv = (struct ks_wlan_private *)dev->priv; */
 	struct iw_event iwe;	/* Temporary buffer */
-- 
2.16.3

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

* [PATCH 55/76] staging: ks7010: Remove trailing _t from 'struct local_aplist_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (52 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 56/76] staging: ks7010: Remove trailing _t from 'struct local_gain_t' Quytelda Kahja
                   ` (23 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct local_aplist_t' with 'struct local_aplist'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 3104ff92c453..57b21d3a2435 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -244,7 +244,7 @@ struct local_ap {
 
 #define LOCAL_APLIST_MAX 31
 #define LOCAL_CURRENT_AP LOCAL_APLIST_MAX
-struct local_aplist_t {
+struct local_aplist {
 	int size;
 	struct local_ap ap[LOCAL_APLIST_MAX + 1];
 };
@@ -423,7 +423,7 @@ struct ks_wlan_private {
 
 	unsigned char eth_addr[ETH_ALEN];
 
-	struct local_aplist_t aplist;
+	struct local_aplist aplist;
 	struct local_ap current_ap;
 	struct power_save_status_t psstatus;
 	struct sleep_status_t sleepstatus;
-- 
2.16.3

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

* [PATCH 56/76] staging: ks7010: Remove trailing _t from 'struct local_gain_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (53 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 55/76] staging: ks7010: Remove trailing _t from 'struct local_aplist_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t' Quytelda Kahja
                   ` (22 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct local_gain_t' with 'struct local_gain'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 57b21d3a2435..e6c4a0fece54 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -249,7 +249,7 @@ struct local_aplist {
 	struct local_ap ap[LOCAL_APLIST_MAX + 1];
 };
 
-struct local_gain_t {
+struct local_gain {
 	u8 tx_mode;
 	u8 rx_mode;
 	u8 tx_gain;
@@ -471,7 +471,7 @@ struct ks_wlan_private {
 
 	u8 scan_ssid_len;
 	u8 scan_ssid[IW_ESSID_MAX_SIZE + 1];
-	struct local_gain_t gain;
+	struct local_gain gain;
 #ifdef WPS
 	struct net_device *l2_dev;
 	int l2_fd;
-- 
2.16.3

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

* [PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (54 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 56/76] staging: ks7010: Remove trailing _t from 'struct local_gain_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 58/76] staging: ks7010: Remove trailing _t from 'struct power_save_status_t' Quytelda Kahja
                   ` (21 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct local_eeprom_sum_t' with 'struct
local_eeprom_sum'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index e6c4a0fece54..f99b00344d39 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -256,7 +256,7 @@ struct local_gain {
 	u8 rx_gain;
 };
 
-struct local_eeprom_sum_t {
+struct local_eeprom_sum {
 	u8 type;
 	u8 result;
 };
@@ -480,7 +480,7 @@ struct ks_wlan_private {
 	u8 sleep_mode;
 
 	u8 region;
-	struct local_eeprom_sum_t eeprom_sum;
+	struct local_eeprom_sum eeprom_sum;
 	u8 eeprom_checksum;
 
 	struct hostt hostt;
-- 
2.16.3

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

* [PATCH 58/76] staging: ks7010: Remove trailing _t from 'struct power_save_status_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (55 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t' Quytelda Kahja
                   ` (20 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct power_save_status_t' with 'struct
power_save_status'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index f99b00344d39..edd13060c24c 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -278,7 +278,7 @@ enum {
 	PS_WAKEUP
 };
 
-struct power_save_status_t {
+struct power_save_status {
 	atomic_t status;	/* initialvalue 0 */
 	struct completion wakeup_wait;
 	atomic_t confirm_wait;
@@ -425,7 +425,7 @@ struct ks_wlan_private {
 
 	struct local_aplist aplist;
 	struct local_ap current_ap;
-	struct power_save_status_t psstatus;
+	struct power_save_status psstatus;
 	struct sleep_status_t sleepstatus;
 	struct wpa_status_t wpa;
 	struct pmk_list_t pmklist;
-- 
2.16.3

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

* [PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (56 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 58/76] staging: ks7010: Remove trailing _t from 'struct power_save_status_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t' Quytelda Kahja
                   ` (19 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct sleep_status_t' with 'struct sleep_status'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index edd13060c24c..d10ad152aa32 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -285,7 +285,7 @@ struct power_save_status {
 	atomic_t snooze_guard;
 };
 
-struct sleep_status_t {
+struct sleep_status {
 	atomic_t status;	/* initialvalue 0 */
 	atomic_t doze_request;
 	atomic_t wakeup_request;
@@ -426,7 +426,7 @@ struct ks_wlan_private {
 	struct local_aplist aplist;
 	struct local_ap current_ap;
 	struct power_save_status psstatus;
-	struct sleep_status_t sleepstatus;
+	struct sleep_status sleepstatus;
 	struct wpa_status_t wpa;
 	struct pmk_list_t pmklist;
 	/* wireless parameter */
-- 
2.16.3

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

* [PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (57 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t' Quytelda Kahja
                   ` (18 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct scan_ext_t' with 'struct scan_ext'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index d10ad152aa32..ece9950ba893 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -292,7 +292,7 @@ struct sleep_status {
 };
 
 /* WPA */
-struct scan_ext_t {
+struct scan_ext {
 	unsigned int flag;
 	char ssid[IW_ESSID_MAX_SIZE + 1];
 };
@@ -374,7 +374,7 @@ struct wpa_status_t {
 	int auth_alg;
 	int txkey;
 	struct wpa_key_t key[WPA_KEY_INDEX_MAX];
-	struct scan_ext_t scan_ext;
+	struct scan_ext scan_ext;
 	struct mic_failure_t mic_failure;
 };
 
-- 
2.16.3

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

* [PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (58 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t' Quytelda Kahja
                   ` (17 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct wpa_key_t' with 'struct wpa_key'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   | 2 +-
 drivers/staging/ks7010/ks_wlan.h     | 4 ++--
 drivers/staging/ks7010/ks_wlan_net.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 0e6f9e954a36..d8b40fd83b6b 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -318,7 +318,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 	struct michael_mic_t michael_mic;
 	union iwreq_data wrqu;
 	unsigned int key_index = auth_type - 1;
-	struct wpa_key_t *key = &priv->wpa.key[key_index];
+	struct wpa_key *key = &priv->wpa.key[key_index];
 
 	eth_hdr = (struct ether_hdr *)(priv->rxp);
 	eth_proto = ntohs(eth_hdr->h_proto);
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index ece9950ba893..2458dbba66a0 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -339,7 +339,7 @@ enum {
 
 #define MIC_KEY_SIZE 8
 
-struct wpa_key_t {
+struct wpa_key {
 	u32 ext_flags;	/* IW_ENCODE_EXT_xxx */
 	u8 tx_seq[IW_ENCODE_SEQ_MAX_SIZE];	/* LSB first */
 	u8 rx_seq[IW_ENCODE_SEQ_MAX_SIZE];	/* LSB first */
@@ -373,7 +373,7 @@ struct wpa_status_t {
 	int key_mgmt_suite;	/* authentication key management suite */
 	int auth_alg;
 	int txkey;
-	struct wpa_key_t key[WPA_KEY_INDEX_MAX];
+	struct wpa_key key[WPA_KEY_INDEX_MAX];
 	struct scan_ext scan_ext;
 	struct mic_failure_t mic_failure;
 };
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index a4f10bec865f..1b8234720d78 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -1706,7 +1706,7 @@ static int ks_wlan_set_encode_ext(struct net_device *dev,
 	struct iw_encode_ext *enc;
 	int index = dwrq->flags & IW_ENCODE_INDEX;
 	unsigned int commit = 0;
-	struct wpa_key_t *key;
+	struct wpa_key *key;
 
 	enc = (struct iw_encode_ext *)extra;
 	if (!enc)
-- 
2.16.3

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

* [PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (59 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t' Quytelda Kahja
                   ` (16 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct mic_failure_t' with 'struct mic_failure'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 drivers/staging/ks7010/ks_wlan.h   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index d8b40fd83b6b..fbe18ddf3ea0 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -314,7 +314,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 	unsigned char recv_mic[8];
 	char buf[128];
 	unsigned long now;
-	struct mic_failure_t *mic_failure;
+	struct mic_failure *mic_failure;
 	struct michael_mic_t michael_mic;
 	union iwreq_data wrqu;
 	unsigned int key_index = auth_type - 1;
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 2458dbba66a0..c3e61021a75a 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -357,7 +357,7 @@ struct wpa_key {
 #define WPA_KEY_INDEX_MAX 4
 #define WPA_RX_SEQ_LEN 6
 
-struct mic_failure_t {
+struct mic_failure {
 	u16 failure;	/* MIC Failure counter 0 or 1 or 2 */
 	u16 counter;	/* 1sec counter 0-60 */
 	u32 last_failure_time;
@@ -375,7 +375,7 @@ struct wpa_status_t {
 	int txkey;
 	struct wpa_key key[WPA_KEY_INDEX_MAX];
 	struct scan_ext scan_ext;
-	struct mic_failure_t mic_failure;
+	struct mic_failure mic_failure;
 };
 
 #include <linux/list.h>
-- 
2.16.3

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

* [PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (60 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t' Quytelda Kahja
                   ` (15 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct wpa_status_t' with 'struct wpa_status'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index c3e61021a75a..851721182b05 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -364,7 +364,7 @@ struct mic_failure {
 	int stop;	/* stop flag */
 };
 
-struct wpa_status_t {
+struct wpa_status {
 	int wpa_enabled;
 	unsigned int rsn_enabled;
 	int version;
@@ -427,7 +427,7 @@ struct ks_wlan_private {
 	struct local_ap current_ap;
 	struct power_save_status psstatus;
 	struct sleep_status sleepstatus;
-	struct wpa_status_t wpa;
+	struct wpa_status wpa;
 	struct pmk_list_t pmklist;
 	/* wireless parameter */
 	struct ks_wlan_parameter reg;
-- 
2.16.3

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

* [PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (61 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t' Quytelda Kahja
                   ` (14 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct pmk_list_t' with 'struct pmk_list'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 851721182b05..69eac00e75b1 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -380,7 +380,7 @@ struct wpa_status {
 
 #include <linux/list.h>
 #define PMK_LIST_MAX 8
-struct pmk_list_t {
+struct pmk_list {
 	u16 size;
 	struct list_head head;
 	struct pmk_t {
@@ -428,7 +428,7 @@ struct ks_wlan_private {
 	struct power_save_status psstatus;
 	struct sleep_status sleepstatus;
 	struct wpa_status wpa;
-	struct pmk_list_t pmklist;
+	struct pmk_list pmklist;
 	/* wireless parameter */
 	struct ks_wlan_parameter reg;
 	u8 current_rate;
-- 
2.16.3

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

* [PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (62 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t' Quytelda Kahja
                   ` (13 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct pmk_t' with 'struct pmk'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   | 2 +-
 drivers/staging/ks7010/ks_wlan.h     | 2 +-
 drivers/staging/ks7010/ks_wlan_net.c | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index fbe18ddf3ea0..f87e707e8bd3 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -2130,7 +2130,7 @@ void hostif_sme_set_pmksa(struct ks_wlan_private *priv)
 			u8 pmkid[IW_PMKID_LEN];
 		} __packed list[PMK_LIST_MAX];
 	} __packed pmkcache;
-	struct pmk_t *pmk;
+	struct pmk *pmk;
 	int i;
 
 	i = 0;
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 69eac00e75b1..20b584524a77 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -383,7 +383,7 @@ struct wpa_status {
 struct pmk_list {
 	u16 size;
 	struct list_head head;
-	struct pmk_t {
+	struct pmk {
 		struct list_head list;
 		u8 bssid[ETH_ALEN];
 		u8 pmkid[IW_PMKID_LEN];
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 1b8234720d78..72a52c6f9fd2 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -1818,7 +1818,7 @@ static int ks_wlan_set_pmksa(struct net_device *dev,
 	struct ks_wlan_private *priv = netdev_priv(dev);
 	struct iw_pmksa *pmksa;
 	int i;
-	struct pmk_t *pmk;
+	struct pmk *pmk;
 	struct list_head *ptr;
 
 	if (priv->sleep_mode == SLP_SLEEP)
@@ -1847,7 +1847,7 @@ static int ks_wlan_set_pmksa(struct net_device *dev,
 		}
 		/* search cache data */
 		list_for_each(ptr, &priv->pmklist.head) {
-			pmk = list_entry(ptr, struct pmk_t, list);
+			pmk = list_entry(ptr, struct pmk, list);
 			if (memcmp(pmksa->bssid.sa_data, pmk->bssid, ETH_ALEN) == 0) {
 				memcpy(pmk->pmkid, pmksa->pmkid, IW_PMKID_LEN);
 				list_move(&pmk->list, &priv->pmklist.head);
@@ -1869,7 +1869,7 @@ static int ks_wlan_set_pmksa(struct net_device *dev,
 			list_add(&pmk->list, &priv->pmklist.head);
 			priv->pmklist.size++;
 		} else {	/* overwrite old cache data */
-			pmk = list_entry(priv->pmklist.head.prev, struct pmk_t,
+			pmk = list_entry(priv->pmklist.head.prev, struct pmk,
 					 list);
 			memcpy(pmk->bssid, pmksa->bssid.sa_data, ETH_ALEN);
 			memcpy(pmk->pmkid, pmksa->pmkid, IW_PMKID_LEN);
@@ -1882,7 +1882,7 @@ static int ks_wlan_set_pmksa(struct net_device *dev,
 		}
 		/* search cache data */
 		list_for_each(ptr, &priv->pmklist.head) {
-			pmk = list_entry(ptr, struct pmk_t, list);
+			pmk = list_entry(ptr, struct pmk, list);
 			if (memcmp(pmksa->bssid.sa_data, pmk->bssid, ETH_ALEN) == 0) {
 				eth_zero_addr(pmk->bssid);
 				memset(pmk->pmkid, 0, IW_PMKID_LEN);
-- 
2.16.3

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

* [PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (63 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t' Quytelda Kahja
                   ` (12 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct wps_status_t' with 'struct wps_status'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 20b584524a77..eb0c14e78bd2 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -391,7 +391,7 @@ struct pmk_list {
 };
 
 #ifdef WPS
-struct wps_status_t {
+struct wps_status {
 	int wps_enabled;
 	int ielen;
 	u8 ie[255];
@@ -475,7 +475,7 @@ struct ks_wlan_private {
 #ifdef WPS
 	struct net_device *l2_dev;
 	int l2_fd;
-	struct wps_status_t wps;
+	struct wps_status wps;
 #endif /* WPS */
 	u8 sleep_mode;
 
-- 
2.16.3

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

* [PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (64 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy() Quytelda Kahja
                   ` (11 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The "_t" suffix is not needed for structure names in this driver, and is a
reflection of an older typedef system that is no longer in place. Replace
all occurences of 'struct michael_mic_t' with 'struct michael_mic'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   |  4 ++--
 drivers/staging/ks7010/michael_mic.c | 12 ++++++------
 drivers/staging/ks7010/michael_mic.h |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index f87e707e8bd3..1eff78540683 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -315,7 +315,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 	char buf[128];
 	unsigned long now;
 	struct mic_failure *mic_failure;
-	struct michael_mic_t michael_mic;
+	struct michael_mic michael_mic;
 	union iwreq_data wrqu;
 	unsigned int key_index = auth_type - 1;
 	struct wpa_key *key = &priv->wpa.key[key_index];
@@ -1065,7 +1065,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 	int result = 0;
 	unsigned short eth_proto;
 	struct ether_hdr *eth_hdr;
-	struct michael_mic_t michael_mic;
+	struct michael_mic michael_mic;
 	unsigned short keyinfo = 0;
 	struct ieee802_1x_hdr *aa1x_hdr;
 	struct wpa_eapol_key *eap_key;
diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c
index 292eae29c552..51862bcf5f58 100644
--- a/drivers/staging/ks7010/michael_mic.c
+++ b/drivers/staging/ks7010/michael_mic.c
@@ -17,14 +17,14 @@
 
 
 // Reset the state to the empty message.
-static inline void michael_clear(struct michael_mic_t *mic)
+static inline void michael_clear(struct michael_mic *mic)
 {
 	mic->l = mic->k0;
 	mic->r = mic->k1;
 	mic->m_bytes = 0;
 }
 
-static void michael_init(struct michael_mic_t *mic, u8 *key)
+static void michael_init(struct michael_mic *mic, u8 *key)
 {
 	// Set the key
 	mic->k0 = get_unaligned_le32(key);
@@ -34,7 +34,7 @@ static void michael_init(struct michael_mic_t *mic, u8 *key)
 	michael_clear(mic);
 }
 
-static inline void michael_block(struct michael_mic_t *mic)
+static inline void michael_block(struct michael_mic *mic)
 {
 	mic->r ^= rol32(mic->l, 17);
 	mic->l += mic->r;
@@ -47,7 +47,7 @@ static inline void michael_block(struct michael_mic_t *mic)
 	mic->l += mic->r;
 }
 
-static void michael_append(struct michael_mic_t *mic, u8 *src, int bytes)
+static void michael_append(struct michael_mic *mic, u8 *src, int bytes)
 {
 	int addlen;
 
@@ -81,7 +81,7 @@ static void michael_append(struct michael_mic_t *mic, u8 *src, int bytes)
 	}
 }
 
-static void michael_get_mic(struct michael_mic_t *mic, u8 *dst)
+static void michael_get_mic(struct michael_mic *mic, u8 *dst)
 {
 	u8 *data = mic->m;
 
@@ -110,7 +110,7 @@ static void michael_get_mic(struct michael_mic_t *mic, u8 *dst)
 	michael_clear(mic);
 }
 
-void michael_mic_function(struct michael_mic_t *mic, u8 *key,
+void michael_mic_function(struct michael_mic *mic, u8 *key,
 			  u8 *data, int len, u8 priority, u8 *result)
 {
 	u8 pad_data[4] = { priority, 0, 0, 0 };
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h
index 894a8d4121a4..d33508070088 100644
--- a/drivers/staging/ks7010/michael_mic.h
+++ b/drivers/staging/ks7010/michael_mic.h
@@ -10,7 +10,7 @@
  */
 
 /* MichaelMIC routine define */
-struct michael_mic_t {
+struct michael_mic {
 	u32 k0;	// Key
 	u32 k1;	// Key
 	u32 l;	// Current state
@@ -20,5 +20,5 @@ struct michael_mic_t {
 	u8 result[8];
 };
 
-void michael_mic_function(struct michael_mic_t *mic, u8 *key,
+void michael_mic_function(struct michael_mic *mic, u8 *key,
 			  u8 *data, int len, u8 priority, u8 *result);
-- 
2.16.3

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

* [PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy().
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (65 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
                   ` (10 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

Copying the dummy HW address into the struct net_device doesn't need
to be done byte by byte; use ether_addr_copy() instead.
Additionally, dev->dev_addr is not eight bytes long.
ether_setup() sets the dev->addr_len to ETH_ALEN (defined as 6)
in the net core code.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 72a52c6f9fd2..d6bfbc1f8558 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2884,15 +2884,7 @@ int ks_wlan_net_start(struct net_device *dev)
 	timer_setup(&update_phyinfo_timer, ks_wlan_update_phyinfo_timeout, 0);
 
 	/* dummy address set */
-	memcpy(priv->eth_addr, dummy_addr, ETH_ALEN);
-	dev->dev_addr[0] = priv->eth_addr[0];
-	dev->dev_addr[1] = priv->eth_addr[1];
-	dev->dev_addr[2] = priv->eth_addr[2];
-	dev->dev_addr[3] = priv->eth_addr[3];
-	dev->dev_addr[4] = priv->eth_addr[4];
-	dev->dev_addr[5] = priv->eth_addr[5];
-	dev->dev_addr[6] = 0x00;
-	dev->dev_addr[7] = 0x00;
+	ether_addr_copy(dev->dev_addr, priv->eth_addr);
 
 	/* The ks_wlan-specific entries in the device structure. */
 	dev->netdev_ops = &ks_wlan_netdev_ops;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (66 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy() Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 70/76] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
                   ` (9 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

The ethernet address of the network device is already stored in the
'dev_addr' field of 'struct net_device'.  Since 'struct ks_wlan_private'
keeps a pointer to the driver's 'struct net_device', there is no reason
to duplicate this information in 'struct ks_wlan_private'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   | 29 +++++++++++------------------
 drivers/staging/ks7010/ks_wlan.h     |  2 --
 drivers/staging/ks7010/ks_wlan_net.c |  5 ++---
 3 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 1eff78540683..3c8a8d0f800c 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -388,6 +388,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 static
 void hostif_data_indication(struct ks_wlan_private *priv)
 {
+	struct net_device * dev = priv->net_dev;
 	unsigned int rx_ind_size;	/* indicate data size */
 	struct sk_buff *skb;
 	unsigned short auth_type;
@@ -411,9 +412,9 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 	eth_proto = ntohs(eth_hdr->h_proto);
 
 	/* source address check */
-	if (memcmp(&priv->eth_addr[0], eth_hdr->h_source, ETH_ALEN) == 0) {
-		netdev_err(priv->net_dev, "invalid : source is own mac address !!\n");
-		netdev_err(priv->net_dev,
+	if (memcmp(dev->dev_addr, eth_hdr->h_source, ETH_ALEN) == 0) {
+		netdev_err(dev, "invalid : source is own mac address !!\n");
+		netdev_err(dev,
 			   "eth_hdrernet->h_dest=%02X:%02X:%02X:%02X:%02X:%02X\n",
 			   eth_hdr->h_source[0], eth_hdr->h_source[1],
 			   eth_hdr->h_source[2], eth_hdr->h_source[3],
@@ -443,7 +444,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 			priv->nstats.rx_dropped++;
 			return;
 		}
-		netdev_dbg(priv->net_dev, "SNAP, rx_ind_size = %d\n",
+		netdev_dbg(dev, "SNAP, rx_ind_size = %d\n",
 			   rx_ind_size);
 
 		size = ETH_ALEN * 2;
@@ -463,7 +464,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 			priv->nstats.rx_dropped++;
 			return;
 		}
-		netdev_dbg(priv->net_dev, "NETBEUI/NetBIOS rx_ind_size=%d\n",
+		netdev_dbg(dev, "NETBEUI/NetBIOS rx_ind_size=%d\n",
 			   rx_ind_size);
 
 		/* 8802/FDDI MAC copy */
@@ -480,7 +481,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 		aa1x_hdr = (struct ieee802_1x_hdr *)(priv->rxp + 14);
 		break;
 	default:	/* other rx data */
-		netdev_err(priv->net_dev, "invalid data format\n");
+		netdev_err(dev, "invalid data format\n");
 		priv->nstats.rx_errors++;
 		return;
 	}
@@ -522,17 +523,9 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 	case DOT11_MAC_ADDRESS:
 		/* MAC address */
 		hostif_sme_enqueue(priv, SME_GET_MAC_ADDRESS);
-		memcpy(priv->eth_addr, priv->rxp, ETH_ALEN);
+		memcpy(dev->dev_addr, priv->rxp, ETH_ALEN);
 		priv->mac_address_valid = true;
-		dev->dev_addr[0] = priv->eth_addr[0];
-		dev->dev_addr[1] = priv->eth_addr[1];
-		dev->dev_addr[2] = priv->eth_addr[2];
-		dev->dev_addr[3] = priv->eth_addr[3];
-		dev->dev_addr[4] = priv->eth_addr[4];
-		dev->dev_addr[5] = priv->eth_addr[5];
-		dev->dev_addr[6] = 0x00;
-		dev->dev_addr[7] = 0x00;
-		netdev_info(dev, "MAC ADDRESS = %pM\n", priv->eth_addr);
+		netdev_info(dev, "MAC ADDRESS = %pM\n", dev->dev_addr);
 		break;
 	case DOT11_PRODUCT_VERSION:
 		/* firmware version */
@@ -1111,7 +1104,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 
 	/* skb check */
 	eth = (struct ethhdr *)skb->data;
-	if (memcmp(&priv->eth_addr[0], eth->h_source, ETH_ALEN) != 0) {
+	if (memcmp(priv->net_dev->dev_addr, eth->h_source, ETH_ALEN) != 0) {
 		netdev_err(priv->net_dev, "invalid mac address !!\n");
 		netdev_err(priv->net_dev, "ethernet->h_source=%pM\n", eth->h_source);
 		ret = -ENXIO;
@@ -2167,7 +2160,7 @@ void hostif_sme_execute(struct ks_wlan_private *priv, int event)
 	case SME_MACADDRESS_SET_REQUEST:
 		hostif_mib_set_request(priv, LOCAL_CURRENTADDRESS, ETH_ALEN,
 				       MIB_VALUE_TYPE_OSTRING,
-				       &priv->eth_addr[0]);
+				       priv->net_dev->dev_addr);
 		break;
 	case SME_BSS_SCAN_REQUEST:
 		hostif_bss_scan_request(priv, priv->reg.scan_type,
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index eb0c14e78bd2..012e0fe2b60d 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -421,8 +421,6 @@ struct ks_wlan_private {
 	struct work_struct wakeup_work;
 	int scan_ind_count;
 
-	unsigned char eth_addr[ETH_ALEN];
-
 	struct local_aplist aplist;
 	struct local_ap current_ap;
 	struct power_save_status psstatus;
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index d6bfbc1f8558..35c615433687 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2749,11 +2749,10 @@ int ks_wlan_set_mac_address(struct net_device *dev, void *addr)
 	if (netif_running(dev))
 		return -EBUSY;
 	memcpy(dev->dev_addr, mac_addr->sa_data, dev->addr_len);
-	memcpy(priv->eth_addr, mac_addr->sa_data, ETH_ALEN);
 
 	priv->mac_address_valid = false;
 	hostif_sme_enqueue(priv, SME_MACADDRESS_SET_REQUEST);
-	netdev_info(dev, "ks_wlan:  MAC ADDRESS = %pM\n", priv->eth_addr);
+	netdev_info(dev, "ks_wlan:  MAC ADDRESS = %pM\n", dev->dev_addr);
 	return 0;
 }
 
@@ -2884,7 +2883,7 @@ int ks_wlan_net_start(struct net_device *dev)
 	timer_setup(&update_phyinfo_timer, ks_wlan_update_phyinfo_timeout, 0);
 
 	/* dummy address set */
-	ether_addr_copy(dev->dev_addr, priv->eth_addr);
+	ether_addr_copy(dev->dev_addr, dummy_addr);
 
 	/* The ks_wlan-specific entries in the device structure. */
 	dev->netdev_ops = &ks_wlan_netdev_ops;
-- 
2.16.3

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

* [PATCH 70/76] staging: ks7010: Remove extra blank line between functions.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (67 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
                   ` (8 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

Remove an extra blank line indicated by checkpatch.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks7010_sdio.c | 3 ++-
 drivers/staging/ks7010/ks_hostif.c   | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index d083bf8d238e..930d1f7d7dbf 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -305,7 +305,8 @@ static void tx_device_task(struct ks_wlan_private *priv)
 	if (priv->dev_state >= DEVICE_STATE_BOOT) {
 		ret = write_to_device(priv, sp->sendp, sp->size);
 		if (ret) {
-			netdev_err(priv->net_dev, "write_to_device error !!(%d)\n", ret);
+			netdev_err(priv->net_dev,
+				   "write_to_device() error (%d)!\n", ret);
 			queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
 			return;
 		}
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 3c8a8d0f800c..b97080f8ebd2 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -221,7 +221,6 @@ static u8 read_ie(unsigned char *bp, u8 max, u8 *body)
 	return size;
 }
 
-
 static
 int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
 		       struct local_ap *ap)
-- 
2.16.3

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

* [PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list()
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (68 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 70/76] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
                   ` (7 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

All of the net_device_ops callbacks are named after their counterparts
in the kernel's 'struct net_device_ops', except
ks_wlan_set_multicast_list().  Rename it to ks_wlan_set_rx_mode() for
greater consistency.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 29dd07cdd69d..e98f6163e724 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -72,7 +72,7 @@ static const struct iw_handler_def ks_wlan_handler_def;
 static int ks_wlan_open(struct net_device *dev);
 static int ks_wlan_close(struct net_device *dev);
 static int ks_wlan_start_xmit(struct sk_buff *skb, struct net_device *dev);
-static void ks_wlan_set_multicast_list(struct net_device *dev);
+static void ks_wlan_set_rx_mode(struct net_device *dev);
 static int ks_wlan_set_mac_address(struct net_device *dev, void *addr);
 static int ks_wlan_netdev_ioctl(struct net_device *dev, struct ifreq *rq,
 				int cmd);
@@ -2817,7 +2817,7 @@ void send_packet_complete(struct ks_wlan_private *priv, struct sk_buff *skb)
  * This routine is not state sensitive and need not be SMP locked.
  */
 static
-void ks_wlan_set_multicast_list(struct net_device *dev)
+void ks_wlan_set_rx_mode(struct net_device *dev)
 {
 	struct ks_wlan_private *priv = netdev_priv(dev);
 
@@ -2861,7 +2861,7 @@ static const struct net_device_ops ks_wlan_netdev_ops = {
 	.ndo_open = ks_wlan_open,
 	.ndo_stop = ks_wlan_close,
 	.ndo_start_xmit = ks_wlan_start_xmit,
-	.ndo_set_rx_mode = ks_wlan_set_multicast_list,
+	.ndo_set_rx_mode = ks_wlan_set_rx_mode,
 	.ndo_set_mac_address = ks_wlan_set_mac_address,
 	.ndo_do_ioctl = ks_wlan_netdev_ioctl,
 	.ndo_tx_timeout = ks_wlan_tx_timeout,
-- 
2.16.3

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

* [PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (69 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
                   ` (6 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The ethernet address of the network device is already stored in the
'dev_addr' field of 'struct net_device'.  Since 'struct ks_wlan_private'
keeps a pointer to the driver's 'struct net_device', there is no reason
to duplicate this information in 'struct ks_wlan_private'.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c   | 29 +++++++++++------------------
 drivers/staging/ks7010/ks_wlan.h     |  2 --
 drivers/staging/ks7010/ks_wlan_net.c |  5 ++---
 3 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 1eff78540683..3c8a8d0f800c 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -388,6 +388,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv,
 static
 void hostif_data_indication(struct ks_wlan_private *priv)
 {
+	struct net_device * dev = priv->net_dev;
 	unsigned int rx_ind_size;	/* indicate data size */
 	struct sk_buff *skb;
 	unsigned short auth_type;
@@ -411,9 +412,9 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 	eth_proto = ntohs(eth_hdr->h_proto);
 
 	/* source address check */
-	if (memcmp(&priv->eth_addr[0], eth_hdr->h_source, ETH_ALEN) == 0) {
-		netdev_err(priv->net_dev, "invalid : source is own mac address !!\n");
-		netdev_err(priv->net_dev,
+	if (memcmp(dev->dev_addr, eth_hdr->h_source, ETH_ALEN) == 0) {
+		netdev_err(dev, "invalid : source is own mac address !!\n");
+		netdev_err(dev,
 			   "eth_hdrernet->h_dest=%02X:%02X:%02X:%02X:%02X:%02X\n",
 			   eth_hdr->h_source[0], eth_hdr->h_source[1],
 			   eth_hdr->h_source[2], eth_hdr->h_source[3],
@@ -443,7 +444,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 			priv->nstats.rx_dropped++;
 			return;
 		}
-		netdev_dbg(priv->net_dev, "SNAP, rx_ind_size = %d\n",
+		netdev_dbg(dev, "SNAP, rx_ind_size = %d\n",
 			   rx_ind_size);
 
 		size = ETH_ALEN * 2;
@@ -463,7 +464,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 			priv->nstats.rx_dropped++;
 			return;
 		}
-		netdev_dbg(priv->net_dev, "NETBEUI/NetBIOS rx_ind_size=%d\n",
+		netdev_dbg(dev, "NETBEUI/NetBIOS rx_ind_size=%d\n",
 			   rx_ind_size);
 
 		/* 8802/FDDI MAC copy */
@@ -480,7 +481,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 		aa1x_hdr = (struct ieee802_1x_hdr *)(priv->rxp + 14);
 		break;
 	default:	/* other rx data */
-		netdev_err(priv->net_dev, "invalid data format\n");
+		netdev_err(dev, "invalid data format\n");
 		priv->nstats.rx_errors++;
 		return;
 	}
@@ -522,17 +523,9 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 	case DOT11_MAC_ADDRESS:
 		/* MAC address */
 		hostif_sme_enqueue(priv, SME_GET_MAC_ADDRESS);
-		memcpy(priv->eth_addr, priv->rxp, ETH_ALEN);
+		memcpy(dev->dev_addr, priv->rxp, ETH_ALEN);
 		priv->mac_address_valid = true;
-		dev->dev_addr[0] = priv->eth_addr[0];
-		dev->dev_addr[1] = priv->eth_addr[1];
-		dev->dev_addr[2] = priv->eth_addr[2];
-		dev->dev_addr[3] = priv->eth_addr[3];
-		dev->dev_addr[4] = priv->eth_addr[4];
-		dev->dev_addr[5] = priv->eth_addr[5];
-		dev->dev_addr[6] = 0x00;
-		dev->dev_addr[7] = 0x00;
-		netdev_info(dev, "MAC ADDRESS = %pM\n", priv->eth_addr);
+		netdev_info(dev, "MAC ADDRESS = %pM\n", dev->dev_addr);
 		break;
 	case DOT11_PRODUCT_VERSION:
 		/* firmware version */
@@ -1111,7 +1104,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 
 	/* skb check */
 	eth = (struct ethhdr *)skb->data;
-	if (memcmp(&priv->eth_addr[0], eth->h_source, ETH_ALEN) != 0) {
+	if (memcmp(priv->net_dev->dev_addr, eth->h_source, ETH_ALEN) != 0) {
 		netdev_err(priv->net_dev, "invalid mac address !!\n");
 		netdev_err(priv->net_dev, "ethernet->h_source=%pM\n", eth->h_source);
 		ret = -ENXIO;
@@ -2167,7 +2160,7 @@ void hostif_sme_execute(struct ks_wlan_private *priv, int event)
 	case SME_MACADDRESS_SET_REQUEST:
 		hostif_mib_set_request(priv, LOCAL_CURRENTADDRESS, ETH_ALEN,
 				       MIB_VALUE_TYPE_OSTRING,
-				       &priv->eth_addr[0]);
+				       priv->net_dev->dev_addr);
 		break;
 	case SME_BSS_SCAN_REQUEST:
 		hostif_bss_scan_request(priv, priv->reg.scan_type,
diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index eb0c14e78bd2..012e0fe2b60d 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -421,8 +421,6 @@ struct ks_wlan_private {
 	struct work_struct wakeup_work;
 	int scan_ind_count;
 
-	unsigned char eth_addr[ETH_ALEN];
-
 	struct local_aplist aplist;
 	struct local_ap current_ap;
 	struct power_save_status psstatus;
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index e98f6163e724..32515c296ca6 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2749,11 +2749,10 @@ int ks_wlan_set_mac_address(struct net_device *dev, void *addr)
 	if (netif_running(dev))
 		return -EBUSY;
 	memcpy(dev->dev_addr, mac_addr->sa_data, dev->addr_len);
-	memcpy(priv->eth_addr, mac_addr->sa_data, ETH_ALEN);
 
 	priv->mac_address_valid = false;
 	hostif_sme_enqueue(priv, SME_MACADDRESS_SET_REQUEST);
-	netdev_info(dev, "ks_wlan:  MAC ADDRESS = %pM\n", priv->eth_addr);
+	netdev_info(dev, "ks_wlan:  MAC ADDRESS = %pM\n", dev->dev_addr);
 	return 0;
 }
 
@@ -2884,7 +2883,7 @@ int ks_wlan_net_start(struct net_device *dev)
 	timer_setup(&update_phyinfo_timer, ks_wlan_update_phyinfo_timeout, 0);
 
 	/* dummy address set */
-	ether_addr_copy(dev->dev_addr, priv->eth_addr);
+	ether_addr_copy(dev->dev_addr, dummy_addr);
 
 	/* The ks_wlan-specific entries in the device structure. */
 	dev->netdev_ops = &ks_wlan_netdev_ops;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list()
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (70 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 72/76] staging: ks7010: Remove dummy address set Quytelda Kahja
                   ` (5 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

All of the net_device_ops callbacks are named after their counterparts
in the kernel's 'struct net_device_ops', except
ks_wlan_set_multicast_list().  Rename it to ks_wlan_set_rx_mode() for
greater consistency.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 35c615433687..5c5569000fce 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -73,7 +73,7 @@ static int ks_wlan_open(struct net_device *dev);
 static void ks_wlan_tx_timeout(struct net_device *dev);
 static int ks_wlan_start_xmit(struct sk_buff *skb, struct net_device *dev);
 static int ks_wlan_close(struct net_device *dev);
-static void ks_wlan_set_multicast_list(struct net_device *dev);
+static void ks_wlan_set_rx_mode(struct net_device *dev);
 static struct net_device_stats *ks_wlan_get_stats(struct net_device *dev);
 static int ks_wlan_set_mac_address(struct net_device *dev, void *addr);
 static int ks_wlan_netdev_ioctl(struct net_device *dev, struct ifreq *rq,
@@ -2816,7 +2816,7 @@ void send_packet_complete(struct ks_wlan_private *priv, struct sk_buff *skb)
  * This routine is not state sensitive and need not be SMP locked.
  */
 static
-void ks_wlan_set_multicast_list(struct net_device *dev)
+void ks_wlan_set_rx_mode(struct net_device *dev)
 {
 	struct ks_wlan_private *priv = netdev_priv(dev);
 
@@ -2864,7 +2864,7 @@ static const struct net_device_ops ks_wlan_netdev_ops = {
 	.ndo_set_mac_address = ks_wlan_set_mac_address,
 	.ndo_get_stats = ks_wlan_get_stats,
 	.ndo_tx_timeout = ks_wlan_tx_timeout,
-	.ndo_set_rx_mode = ks_wlan_set_multicast_list,
+	.ndo_set_rx_mode = ks_wlan_set_rx_mode,
 };
 
 int ks_wlan_net_start(struct net_device *dev)
-- 
2.16.3

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

* [PATCH 72/76] staging: ks7010: Remove dummy address set.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (71 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 72/72] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
                   ` (4 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

Setting a dummy address during the driver probe is not necessary.
The dev_addr field is already zeroed out from alloc_etherdev().

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 5c5569000fce..afbc472baa05 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2852,9 +2852,6 @@ int ks_wlan_close(struct net_device *dev)
 /* Operational parameters that usually are not changed. */
 /* Time in jiffies before concluding the transmitter is hung. */
 #define TX_TIMEOUT  (3 * HZ)
-static const unsigned char dummy_addr[] = {
-	0x00, 0x0b, 0xe3, 0x00, 0x00, 0x00
-};
 
 static const struct net_device_ops ks_wlan_netdev_ops = {
 	.ndo_start_xmit = ks_wlan_start_xmit,
@@ -2882,9 +2879,6 @@ int ks_wlan_net_start(struct net_device *dev)
 	atomic_set(&update_phyinfo, 0);
 	timer_setup(&update_phyinfo_timer, ks_wlan_update_phyinfo_timeout, 0);
 
-	/* dummy address set */
-	ether_addr_copy(dev->dev_addr, dummy_addr);
-
 	/* The ks_wlan-specific entries in the device structure. */
 	dev->netdev_ops = &ks_wlan_netdev_ops;
 	dev->wireless_handlers = &ks_wlan_handler_def;
-- 
2.16.3

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

* [PATCH 72/72] staging: ks7010: Remove extra blank line between functions.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (72 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 72/76] staging: ks7010: Remove dummy address set Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool Quytelda Kahja
                   ` (3 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

Remove an extra blank line indicated by checkpatch.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks7010_sdio.c | 3 ++-
 drivers/staging/ks7010/ks_hostif.c   | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index d083bf8d238e..930d1f7d7dbf 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -305,7 +305,8 @@ static void tx_device_task(struct ks_wlan_private *priv)
 	if (priv->dev_state >= DEVICE_STATE_BOOT) {
 		ret = write_to_device(priv, sp->sendp, sp->size);
 		if (ret) {
-			netdev_err(priv->net_dev, "write_to_device error !!(%d)\n", ret);
+			netdev_err(priv->net_dev,
+				   "write_to_device() error (%d)!\n", ret);
 			queue_delayed_work(priv->wq, &priv->rw_dwork, 1);
 			return;
 		}
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 3c8a8d0f800c..b97080f8ebd2 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -221,7 +221,6 @@ static u8 read_ie(unsigned char *bp, u8 max, u8 *body)
 	return size;
 }
 
-
 static
 int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
 		       struct local_ap *ap)
-- 
2.16.3

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

* [PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (73 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 72/72] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def' Quytelda Kahja
                   ` (2 subsequent siblings)
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The 'device_open_status' member of 'struct ks_wlan_private' is only
ever set to zero or one, so it makes more sense for it to be a bool
instead of an int.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan.h     | 2 +-
 drivers/staging/ks7010/ks_wlan_net.c | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h
index 012e0fe2b60d..91231de5404f 100644
--- a/drivers/staging/ks7010/ks_wlan.h
+++ b/drivers/staging/ks7010/ks_wlan.h
@@ -441,7 +441,7 @@ struct ks_wlan_private {
 	unsigned int need_commit;	/* for ioctl */
 
 	/* DeviceIoControl */
-	int device_open_status;
+	bool device_open_status;
 	atomic_t event_count;
 	atomic_t rec_count;
 	int dev_count;
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index afbc472baa05..e1773e57cbb0 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2871,10 +2871,9 @@ int ks_wlan_net_start(struct net_device *dev)
 
 	priv = netdev_priv(dev);
 	priv->mac_address_valid = false;
+	priv->device_open_status = true;
 	priv->need_commit = 0;
 
-	priv->device_open_status = 1;
-
 	/* phy information update timer */
 	atomic_set(&update_phyinfo, 0);
 	timer_setup(&update_phyinfo_timer, ks_wlan_update_phyinfo_timeout, 0);
@@ -2893,7 +2892,7 @@ int ks_wlan_net_stop(struct net_device *dev)
 {
 	struct ks_wlan_private *priv = netdev_priv(dev);
 
-	priv->device_open_status = 0;
+	priv->device_open_status = false;
 	del_timer_sync(&update_phyinfo_timer);
 
 	if (netif_running(dev))
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def'.
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (74 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal() Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy() Quytelda Kahja
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

The casts used when initializing members of this data structure mirror
the types the variables already have.  Remove the casts.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_wlan_net.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index e1773e57cbb0..d6fa2bfb6a6d 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -2705,9 +2705,9 @@ static const struct iw_handler_def ks_wlan_handler_def = {
 	.num_standard = ARRAY_SIZE(ks_wlan_handler),
 	.num_private = ARRAY_SIZE(ks_wlan_private_handler),
 	.num_private_args = ARRAY_SIZE(ks_wlan_private_args),
-	.standard = (iw_handler *)ks_wlan_handler,
-	.private = (iw_handler *)ks_wlan_private_handler,
-	.private_args = (struct iw_priv_args *)ks_wlan_private_args,
+	.standard = ks_wlan_handler,
+	.private = ks_wlan_private_handler,
+	.private_args = ks_wlan_private_args,
 	.get_wireless_stats = ks_get_wireless_stats,
 };
 
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* [PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal().
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (75 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def' Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  2018-03-30  7:08 ` [PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy() Quytelda Kahja
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel, Quytelda Kahja

ether_addr_equal() is the function for comparing HW addresses,
so remove the manual memcmp operation and replace it with
ether_addr_equals().

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index b97080f8ebd2..fd1bf5d7ecd4 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -411,7 +411,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 	eth_proto = ntohs(eth_hdr->h_proto);
 
 	/* source address check */
-	if (memcmp(dev->dev_addr, eth_hdr->h_source, ETH_ALEN) == 0) {
+	if (ether_addr_equal(dev->dev_addr, eth_hdr->h_source)) {
 		netdev_err(dev, "invalid : source is own mac address !!\n");
 		netdev_err(dev,
 			   "eth_hdrernet->h_dest=%02X:%02X:%02X:%02X:%02X:%02X\n",
@@ -1103,7 +1103,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 
 	/* skb check */
 	eth = (struct ethhdr *)skb->data;
-	if (memcmp(priv->net_dev->dev_addr, eth->h_source, ETH_ALEN) != 0) {
+	if (ether_addr_equal(priv->net_dev->dev_addr, eth->h_source)) {
 		netdev_err(priv->net_dev, "invalid mac address !!\n");
 		netdev_err(priv->net_dev, "ethernet->h_source=%pM\n", eth->h_source);
 		ret = -ENXIO;
-- 
2.16.3

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

* [PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy().
  2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
                   ` (76 preceding siblings ...)
  2018-03-30  7:08 ` [PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal() Quytelda Kahja
@ 2018-03-30  7:08 ` Quytelda Kahja
  77 siblings, 0 replies; 81+ messages in thread
From: Quytelda Kahja @ 2018-03-30  7:08 UTC (permalink / raw)
  To: gregkh, wsa; +Cc: devel, driverdev-devel, linux-kernel, Quytelda Kahja

ether_addr_copy() is the function for copying a hardware address,
so replace the manual memcpy() operation with ether_addr_copy().

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
---
 drivers/staging/ks7010/ks_hostif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index fd1bf5d7ecd4..71cb366cb602 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -522,7 +522,7 @@ void hostif_mib_get_confirm(struct ks_wlan_private *priv)
 	case DOT11_MAC_ADDRESS:
 		/* MAC address */
 		hostif_sme_enqueue(priv, SME_GET_MAC_ADDRESS);
-		memcpy(dev->dev_addr, priv->rxp, ETH_ALEN);
+		ether_addr_copy(dev->dev_addr, priv->rxp);
 		priv->mac_address_valid = true;
 		netdev_info(dev, "MAC ADDRESS = %pM\n", dev->dev_addr);
 		break;
-- 
2.16.3

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

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

* Re: [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t'.
  2018-03-30  7:07 ` [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t' Quytelda Kahja
@ 2018-03-30  7:44   ` Joe Perches
  2018-03-30 10:00   ` Greg KH
  1 sibling, 0 replies; 81+ messages in thread
From: Joe Perches @ 2018-03-30  7:44 UTC (permalink / raw)
  To: Quytelda Kahja, gregkh, wsa; +Cc: driverdev-devel, devel, linux-kernel

On Fri, 2018-03-30 at 00:07 -0700, Quytelda Kahja wrote:
> The "_t" suffix is not needed for structure names in this driver, and is a
> reflection of an older typedef system that is no longer in place. Replace
> all occurences of 'struct hostif_mib_set_confirm_t' with 'struct
> hostif_mib_set_confirm'.
> 
> Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
> ---
>  drivers/staging/ks7010/ks_hostif.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
> index 5261810fbc76..7a0e0c610c50 100644
> --- a/drivers/staging/ks7010/ks_hostif.h
> +++ b/drivers/staging/ks7010/ks_hostif.h
> @@ -175,7 +175,7 @@ struct hostif_mib_set_request {
>  	struct hostif_mib_value mib_value;
>  } __packed;
>  
> -struct hostif_mib_set_confirm_t {
> +struct hostif_mib_set_confirm {
>  	struct hostif_hdr header;
>  	__le32 mib_status;
>  	__le32 mib_attribute;

It is probably better to remove unused structs

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

* Re: [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t'.
  2018-03-30  7:07 ` [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t' Quytelda Kahja
  2018-03-30  7:44   ` Joe Perches
@ 2018-03-30 10:00   ` Greg KH
  1 sibling, 0 replies; 81+ messages in thread
From: Greg KH @ 2018-03-30 10:00 UTC (permalink / raw)
  To: Quytelda Kahja; +Cc: wsa, devel, driverdev-devel, linux-kernel

On Fri, Mar 30, 2018 at 12:07:35AM -0700, Quytelda Kahja wrote:
> The "_t" suffix is not needed for structure names in this driver, and is a
> reflection of an older typedef system that is no longer in place. Replace
> all occurences of 'struct hostif_mib_set_confirm_t' with 'struct
> hostif_mib_set_confirm'.
> 
> Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
> ---
>  drivers/staging/ks7010/ks_hostif.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h
> index 5261810fbc76..7a0e0c610c50 100644
> --- a/drivers/staging/ks7010/ks_hostif.h
> +++ b/drivers/staging/ks7010/ks_hostif.h
> @@ -175,7 +175,7 @@ struct hostif_mib_set_request {
>  	struct hostif_mib_value mib_value;
>  } __packed;
>  
> -struct hostif_mib_set_confirm_t {
> +struct hostif_mib_set_confirm {
>  	struct hostif_hdr header;
>  	__le32 mib_status;
>  	__le32 mib_attribute;

As Joe points out, please just remove structures that are not used at
all, it's pointless to keep them around.

thanks,

greg k-h

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

end of thread, other threads:[~2018-03-30 10:00 UTC | newest]

Thread overview: 81+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30  7:07 [PATCH 01/76] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes Quytelda Kahja
2018-03-30  7:07 ` [PATCH 02/76] staging: ks7010: Remove trailing _t from 'struct wpa_suite_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 03/76] staging: ks7010: Remove trailing _t from 'struct rsn_mode_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 04/76] staging: ks7010: Remove trailing _t from 'struct pmk_cache_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 05/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 06/76] staging: ks7010: Remove trailing _t from 'struct hostif_data_indication_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 07/76] staging: ks7010: Remove trailing _t from 'struct channel_list_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 08/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 09/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_value_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 10/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_get_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 11/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 12/76] staging: ks7010: Remove trailing _t from 'struct hostif_mib_set_confirm_t' Quytelda Kahja
2018-03-30  7:44   ` Joe Perches
2018-03-30 10:00   ` Greg KH
2018-03-30  7:07 ` [PATCH 13/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 14/76] staging: ks7010: Remove trailing _t from 'struct hostif_power_mgmt_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 15/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 16/76] staging: ks7010: Remove trailing _t from 'struct hostif_start_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 17/76] staging: ks7010: Remove trailing _t from 'struct ssid_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 18/76] staging: ks7010: Remove trailing _t from 'struct rate_set8_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 19/76] staging: ks7010: Remove trailing _t from 'struct fh_parms_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 20/76] staging: ks7010: Remove trailing _t from 'struct ds_parms_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 21/76] staging: ks7010: Remove trailing _t from 'struct cf_parms_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 22/76] staging: ks7010: Remove trailing _t from 'struct ibss_parms_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 23/76] staging: ks7010: Remove trailing _t from 'struct rsn_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 24/76] staging: ks7010: Remove trailing _t from 'struct erp_params_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 25/76] staging: ks7010: Remove trailing _t from 'struct rate_set16_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 26/76] staging: ks7010: Remove trailing _t from 'struct ap_info_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 27/76] staging: ks7010: Remove trailing _t from 'struct link_ap_info_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 28/76] staging: ks7010: Remove trailing _t from 'struct hostif_connect_indication_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 29/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 30/76] staging: ks7010: Remove trailing _t from 'struct hostif_stop_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 31/76] staging: ks7010: Remove trailing _t from 'struct hostif_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 32/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 33/76] staging: ks7010: Remove trailing _t from 'struct hostif_ps_adhoc_set_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 34/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 35/76] staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_confirm_t' Quytelda Kahja
2018-03-30  7:07 ` [PATCH 36/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 37/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set2_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 38/76] staging: ks7010: Remove trailing _t from 'struct hostif_adhoc_set_confirm_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 39/76] staging: ks7010: Remove trailing _t from 'struct last_associate_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 40/76] staging: ks7010: Remove trailing _t from 'struct association_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 41/76] staging: ks7010: Remove trailing _t from 'struct association_response_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 42/76] staging: ks7010: Remove trailing _t from 'struct hostif_associate_indication_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 43/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 44/76] staging: ks7010: Remove trailing _t from 'struct hostif_bss_scan_confirm_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 45/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 46/76] staging: ks7010: Remove trailing _t from 'struct hostif_phy_information_confirm_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 47/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 48/76] staging: ks7010: Remove trailing _t from 'struct hostif_sleep_confirm_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 49/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_request_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 50/76] staging: ks7010: Remove trailing _t from 'struct hostif_mic_failure_confirm_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 51/76] staging: ks7010: Remove trailing _t from 'struct hostt_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 52/76] staging: ks7010: Remove trailing _t from 'struct rsn_ie_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 53/76] staging: ks7010: Remove trailing _t from 'struct wps_ie_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 54/76] staging: ks7010: Remove trailing _t from 'struct local_ap_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 55/76] staging: ks7010: Remove trailing _t from 'struct local_aplist_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 56/76] staging: ks7010: Remove trailing _t from 'struct local_gain_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 57/76] staging: ks7010: Remove trailing _t from 'struct local_eeprom_sum_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 58/76] staging: ks7010: Remove trailing _t from 'struct power_save_status_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 59/76] staging: ks7010: Remove trailing _t from 'struct sleep_status_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 60/76] staging: ks7010: Remove trailing _t from 'struct scan_ext_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 61/76] staging: ks7010: Remove trailing _t from 'struct wpa_key_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 62/76] staging: ks7010: Remove trailing _t from 'struct mic_failure_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 63/76] staging: ks7010: Remove trailing _t from 'struct wpa_status_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 64/76] staging: ks7010: Remove trailing _t from 'struct pmk_list_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 65/76] staging: ks7010: Remove trailing _t from 'struct pmk_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 66/76] staging: ks7010: Remove trailing _t from 'struct wps_status_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 67/76] staging: ks7010: Remove trailing _t from 'struct michael_mic_t' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 68/76] staging: ks7010: Replace manual array copy with ether_addr_copy() Quytelda Kahja
2018-03-30  7:08 ` [PATCH 69/76] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 70/76] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
2018-03-30  7:08 ` [PATCH 70/72] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
2018-03-30  7:08 ` [PATCH 71/72] staging: ks7010: Remove 'eth_addr' field from 'struct ks_wlan_private' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 71/76] staging: ks7010: Rename ks_wlan_set_multicast_list() Quytelda Kahja
2018-03-30  7:08 ` [PATCH 72/76] staging: ks7010: Remove dummy address set Quytelda Kahja
2018-03-30  7:08 ` [PATCH 72/72] staging: ks7010: Remove extra blank line between functions Quytelda Kahja
2018-03-30  7:08 ` [PATCH 73/76] staging: ks7010: Change 'device_open_status' to a bool Quytelda Kahja
2018-03-30  7:08 ` [PATCH 74/76] staging: ks7010: Remove unnecessary casts in 'struct ks_wlan_handler_def' Quytelda Kahja
2018-03-30  7:08 ` [PATCH 75/76] staging: ks7010: Replace memcmp() with ether_addr_equal() Quytelda Kahja
2018-03-30  7:08 ` [PATCH 76/76] staging: ks7010: Replace memcpy() with ether_addr_copy() Quytelda Kahja

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.