Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1492682 > unrolled thread

[PATCH 00/87] Fix some style warnings in hfa384x.h

Started bySergio Paracuellos <sergio.paracuellos@gmail.com>
First post2016-09-28 18:30 +0200
Last post2016-09-28 18:50 +0200
Articles 20 on this page of 83 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 00/87] Fix some style warnings in hfa384x.h Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:30 +0200
    [PATCH 63/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_temptype_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 38/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wridresp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 66/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_level_comp_setup_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 40/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemresp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 61/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_default_channel_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 68/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_ifr_setting_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 37/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdresp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 45/87] staging: wlang-ng: avoid new typedef: hfa384x_usbin_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 06/87] staging: wlang-ng: avoid new typedef: hfa384x_JoinRequest_data_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 71/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_shadow_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 69/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_rfr_setting_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 76/87] staging: wlang-ng: avoid new typedef: hfa384x_hfo_delay_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 72/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_ifrf_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 55/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_measurements_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 54/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_refdac_measurements_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 52/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_cfisuprange_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 80/87] staging: wlang-ng: avoid new typedef: hfa384x_pdrec_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 44/87] staging: wlang-ng: avoid new typedef: hfa384x_usbout_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 01/87] staging: wlang-ng: avoid new typedef: hfa384x_bytestr32_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 75/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_config_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 56/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_level_compc_measurements_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 64/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_refdac_setup_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 73/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcalsp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 46/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_partnum_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 78/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_manf_testi_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 58/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_mkk_callname_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 67/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_trimdac_setup_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 65/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_setup_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 49/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_mkk_measurements_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 60/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_allowed_channel_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 50/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_ramsize_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 57/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_mac_address_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 41/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_rmemresp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 48/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_serial_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 05/87] staging: wlang-ng: avoid new typedef: hfa384x_HostScanRequest_data_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 59/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_regdomain_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 36/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_infofrm_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 35/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_rxfrm_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 39/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_rridresp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 79/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_end_of_pda_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 03/87] staging: wlang-ng: Fix block comments style warnings in hfa384x.h Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 62/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_privacy_option_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 81/87] staging: wlang-ng: avoid new typedef: hfa384x_cmdresult_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 82/87] staging: wlang-ng: avoid new typedef: hfa384x_rridresult_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 70/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_baseline_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 51/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_mfisuprange_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 53/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_nicid_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 74/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcali_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 77/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_manf_testsp_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:40 +0200
    [PATCH 32/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_rridreq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 07/87] staging: wlang-ng: avoid new typedef: hfa384x_authenticateStation_data_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 22/87] staging: wlang-ng: avoid new typedef: hfa384x_LinkStatus_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 16/87] staging: wlang-ng: avoid new typedef: hfa384x_ScanResultSub_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 33/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemreq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 30/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdreq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 11/87] staging: wlang-ng: avoid new typedef: hfa384x_dbmcommsquality_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 19/87] staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResult_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 34/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_rmemreq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 25/87] staging: wlang-ng: avoid new typedef: hfa384x_PSUserCount_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 17/87] staging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 20/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResultSub_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 09/87] staging: wlang-ng: avoid new typedef: hfa384x_downloadbuffer_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 31/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wridreq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 21/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResult_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 23/87] staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 27/87] staging: wlang-ng: avoid new typedef: hfa384x_infodata_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 15/87] staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 08/87] staging: wlang-ng: avoid new typedef: hfa384x_WPAData_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 43/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_error_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 18/87] staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResultSub_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 10/87] staging: wlang-ng: avoid new typedef: hfa384x_commsquality_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 28/87]  staging: wlang-ng: avoid new typedef: hfa384x_InfFrame_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 29/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 42/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_bufavail_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 47/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_tracenum_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 12/87] staging: wlang-ng: avoid new typedef: hfa384x_tx_frame_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    Re: [PATCH 00/87] Fix some style warnings in hfa384x.h Giedrius Statkevičius          <giedrius.statkevicius@gmail.com> - 2016-09-28 18:50 +0200
      Re: [PATCH 00/87] Fix some style warnings in hfa384x.h Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 19:50 +0200
    [PATCH 26/87] staging: wlang-ng: avoid new typedef: hfa384x_KeyIDChanged_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 14/87] staging: wlang-ng: avoid new typedef: hfa384x_CommTallies16_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 24/87] staging: wlang-ng: avoid new typedef: hfa384x_AuthReq_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200
    [PATCH 13/87] staging: wlang-ng: avoid new typedef: hfa384x_rx_frame_t Sergio Paracuellos <sergio.paracuellos@gmail.com> - 2016-09-28 18:50 +0200

Page 4 of 5 — ← Prev page 1 2 3 [4] 5  Next page →


#1492750 — [PATCH 17/87] staging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 17/87] staging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t
Message-ID<smqds-Mt-41@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_ScanResult_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 6 +++---
 drivers/staging/wlan-ng/prism2sta.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 97a796e..1da5a67 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -671,11 +671,11 @@ struct hfa384x_ScanResultSub {
 	u16 proberesp_rate;
 } __packed;
 
-typedef struct hfa384x_ScanResult {
+struct hfa384x_ScanResult {
 	u16 rsvd;
 	u16 scanreason;
 	struct hfa384x_ScanResultSub result[HFA384x_SCANRESULT_MAX];
-} __packed hfa384x_ScanResult_t;
+} __packed;
 
 /*--  Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
 typedef struct hfa384x_ChInfoResultSub {
@@ -764,7 +764,7 @@ struct hfa384x_ScanResultSub {
 typedef union hfa384x_infodata {
 	struct hfa384x_CommTallies16 commtallies16;
 	struct hfa384x_CommTallies32 commtallies32;
-	hfa384x_ScanResult_t scanresult;
+	struct hfa384x_ScanResult scanresult;
 	hfa384x_ChInfoResult_t chinforesult;
 	hfa384x_HScanResult_t hscanresult;
 	hfa384x_LinkStatus_t linkstatus;
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index d4f5957..5dfa3fc 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1033,7 +1033,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
 {
 	hfa384x_t *hw = wlandev->priv;
 	int nbss;
-	hfa384x_ScanResult_t *sr = &(inf->info.scanresult);
+	struct hfa384x_ScanResult *sr = &(inf->info.scanresult);
 	int i;
 	struct hfa384x_JoinRequest_data joinreq;
 	int result;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492752 — [PATCH 20/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResultSub_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 20/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResultSub_t
Message-ID<smqds-Mt-49@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_HScanResultSub_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h    | 6 +++---
 drivers/staging/wlan-ng/prism2mgmt.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 8fee24b..343debb 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -694,7 +694,7 @@ struct hfa384x_ChInfoResult {
 } __packed;
 
 /*--  Inquiry Frame, Diagnose: Host Scan Results & Subfields--*/
-typedef struct hfa384x_HScanResultSub {
+struct hfa384x_HScanResultSub {
 	u16 chid;
 	u16 anl;
 	u16 sl;
@@ -705,12 +705,12 @@ struct hfa384x_ChInfoResult {
 	u8 supprates[10];	/* 802.11 info element */
 	u16 proberesp_rate;
 	u16 atim;
-} __packed hfa384x_HScanResultSub_t;
+} __packed;
 
 typedef struct hfa384x_HScanResult {
 	u16 nresult;
 	u16 rsvd;
-	hfa384x_HScanResultSub_t result[HFA384x_HSCANRESULT_MAX];
+	struct hfa384x_HScanResultSub result[HFA384x_HSCANRESULT_MAX];
 } __packed hfa384x_HScanResult_t;
 
 /*--  Unsolicited Frame, MAC Mgmt: LinkStatus --*/
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index 1a98d69..1780875 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -371,7 +371,7 @@ int prism2mgmt_scan_results(struct wlandevice *wlandev, void *msgp)
 	int result = 0;
 	struct p80211msg_dot11req_scan_results *req;
 	hfa384x_t *hw = wlandev->priv;
-	hfa384x_HScanResultSub_t *item = NULL;
+	struct hfa384x_HScanResultSub *item = NULL;
 
 	int count;
 
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492753 — [PATCH 09/87] staging: wlang-ng: avoid new typedef: hfa384x_downloadbuffer_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 09/87] staging: wlang-ng: avoid new typedef: hfa384x_downloadbuffer_t
Message-ID<smqds-Mt-43@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_downloadbuffer_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index f7dadfb..761d2c2 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -440,11 +440,11 @@ struct hfa384x_WPAData {
 
 /*-- Information Record: DownLoadBuffer --*/
 /* NOTE: The page and offset are in AUX format */
-typedef struct hfa384x_downloadbuffer {
+struct hfa384x_downloadbuffer {
 	u16 page;
 	u16 offset;
 	u16 len;
-} __packed hfa384x_downloadbuffer_t;
+} __packed;
 
 /*--------------------------------------------------------------------
  * Information Record Structures: NIC Information
@@ -1292,7 +1292,7 @@ struct prism2sta_accesslist {
 
 	/* Download support */
 	unsigned int dlstate;
-	hfa384x_downloadbuffer_t bufinfo;
+	struct hfa384x_downloadbuffer bufinfo;
 	u16 dltimeout;
 
 	int scanflag;		/* to signal scan complete */
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492755 — [PATCH 31/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wridreq_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 31/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wridreq_t
Message-ID<smqdt-Mt-61@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_usb_wridreq_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index affdeef..e0cfe79 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -822,12 +822,12 @@ struct hfa384x_usb_cmdreq {
 	u8 pad[54];
 } __packed;
 
-typedef struct hfa384x_usb_wridreq {
+struct hfa384x_usb_wridreq {
 	u16 type;
 	u16 frmlen;
 	u16 rid;
 	u8 data[HFA384x_RIDDATA_MAXLEN];
-} __packed hfa384x_usb_wridreq_t;
+} __packed;
 
 typedef struct hfa384x_usb_rridreq {
 	u16 type;
@@ -907,7 +907,7 @@ struct hfa384x_usb_cmdreq {
 	__le16 type;
 	struct hfa384x_usb_txfrm txfrm;
 	struct hfa384x_usb_cmdreq cmdreq;
-	hfa384x_usb_wridreq_t wridreq;
+	struct hfa384x_usb_wridreq wridreq;
 	hfa384x_usb_rridreq_t rridreq;
 	hfa384x_usb_wmemreq_t wmemreq;
 	hfa384x_usb_rmemreq_t rmemreq;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492756 — [PATCH 21/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResult_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 21/87] staging: wlang-ng: avoid new typedef: hfa384x_HScanResult_t
Message-ID<smqds-Mt-51@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_HScanResult_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 343debb..123987f 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -707,11 +707,11 @@ struct hfa384x_HScanResultSub {
 	u16 atim;
 } __packed;
 
-typedef struct hfa384x_HScanResult {
+struct hfa384x_HScanResult {
 	u16 nresult;
 	u16 rsvd;
 	struct hfa384x_HScanResultSub result[HFA384x_HSCANRESULT_MAX];
-} __packed hfa384x_HScanResult_t;
+} __packed;
 
 /*--  Unsolicited Frame, MAC Mgmt: LinkStatus --*/
 
@@ -766,7 +766,7 @@ struct hfa384x_HScanResultSub {
 	struct hfa384x_CommTallies32 commtallies32;
 	struct hfa384x_ScanResult scanresult;
 	struct hfa384x_ChInfoResult chinforesult;
-	hfa384x_HScanResult_t hscanresult;
+	struct hfa384x_HScanResult hscanresult;
 	hfa384x_LinkStatus_t linkstatus;
 	hfa384x_AssocStatus_t assocstatus;
 	hfa384x_AuthReq_t authreq;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492757 — [PATCH 23/87] staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 23/87] staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t
Message-ID<smqds-Mt-47@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_AssocStatus_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 6 +++---
 drivers/staging/wlan-ng/prism2sta.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 8f8c64d..c8f5493 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -733,14 +733,14 @@ struct hfa384x_LinkStatus {
 #define HFA384x_ASSOCSTATUS_REASSOC	((u16)2)
 #define HFA384x_ASSOCSTATUS_AUTHFAIL	((u16)5)
 
-typedef struct hfa384x_AssocStatus {
+struct hfa384x_AssocStatus {
 	u16 assocstatus;
 	u8 sta_addr[ETH_ALEN];
 	/* old_ap_addr is only valid if assocstatus == 2 */
 	u8 old_ap_addr[ETH_ALEN];
 	u16 reason;
 	u16 reserved;
-} __packed hfa384x_AssocStatus_t;
+} __packed;
 
 /*--  Unsolicited Frame, MAC Mgmt: AuthRequest (AP Only) --*/
 
@@ -768,7 +768,7 @@ struct hfa384x_LinkStatus {
 	struct hfa384x_ChInfoResult chinforesult;
 	struct hfa384x_HScanResult hscanresult;
 	struct hfa384x_LinkStatus linkstatus;
-	hfa384x_AssocStatus_t assocstatus;
+	struct hfa384x_AssocStatus assocstatus;
 	hfa384x_AuthReq_t authreq;
 	hfa384x_PSUserCount_t psusercnt;
 	hfa384x_KeyIDChanged_t keyidchanged;
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index 5773159..fb47b82 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1469,7 +1469,7 @@ static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
 				      hfa384x_InfFrame_t *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
-	hfa384x_AssocStatus_t rec;
+	struct hfa384x_AssocStatus rec;
 	int i;
 
 	memcpy(&rec, &inf->info.assocstatus, sizeof(rec));
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492758 — [PATCH 27/87] staging: wlang-ng: avoid new typedef: hfa384x_infodata_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 27/87] staging: wlang-ng: avoid new typedef: hfa384x_infodata_t
Message-ID<smqdt-Mt-73@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_infodata_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 532b1a7..7accea2 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -761,7 +761,7 @@ struct hfa384x_KeyIDChanged {
 } __packed;
 
 /*--  Collection of all Inf frames ---------------*/
-typedef union hfa384x_infodata {
+union hfa384x_infodata {
 	struct hfa384x_CommTallies16 commtallies16;
 	struct hfa384x_CommTallies32 commtallies32;
 	struct hfa384x_ScanResult scanresult;
@@ -772,12 +772,12 @@ struct hfa384x_KeyIDChanged {
 	struct hfa384x_AuthRequest authreq;
 	struct hfa384x_PSUserCount psusercnt;
 	struct hfa384x_KeyIDChanged keyidchanged;
-} __packed hfa384x_infodata_t;
+} __packed;
 
 typedef struct hfa384x_InfFrame {
 	u16 framelen;
 	u16 infotype;
-	hfa384x_infodata_t info;
+	union hfa384x_infodata info;
 } __packed hfa384x_InfFrame_t;
 
 /*--------------------------------------------------------------------
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492759 — [PATCH 15/87] staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 15/87] staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t
Message-ID<smqdt-Mt-59@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_CommTallies32_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 8 ++++----
 drivers/staging/wlan-ng/prism2sta.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 1ff46fe..40cbe64 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -634,7 +634,7 @@ struct hfa384x_CommTallies16 {
 	u16 rxmsginbadmsgfrag;
 } __packed;
 
-typedef struct hfa384x_CommTallies32 {
+struct hfa384x_CommTallies32 {
 	u32 txunicastframes;
 	u32 txmulticastframes;
 	u32 txfragments;
@@ -656,7 +656,7 @@ struct hfa384x_CommTallies16 {
 	u32 rxdiscardswepundecr;
 	u32 rxmsginmsgfrag;
 	u32 rxmsginbadmsgfrag;
-} __packed hfa384x_CommTallies32_t;
+} __packed;
 
 /*--  Inquiry Frame, Diagnose: Scan Results & Subfields--*/
 typedef struct hfa384x_ScanResultSub {
@@ -763,7 +763,7 @@ struct hfa384x_CommTallies16 {
 /*--  Collection of all Inf frames ---------------*/
 typedef union hfa384x_infodata {
 	struct hfa384x_CommTallies16 commtallies16;
-	hfa384x_CommTallies32_t commtallies32;
+	struct hfa384x_CommTallies32 commtallies32;
 	hfa384x_ScanResult_t scanresult;
 	hfa384x_ChInfoResult_t chinforesult;
 	hfa384x_HScanResult_t hscanresult;
@@ -1364,7 +1364,7 @@ struct prism2sta_accesslist {
 	struct hfa384x_caplevel cap_act_ap_mfi;	/* ap f/w to modem interface */
 
 	u32 psusercount;	/* Power save user count. */
-	hfa384x_CommTallies32_t tallies;	/* Communication tallies. */
+	struct hfa384x_CommTallies32 tallies;	/* Communication tallies. */
 	u8 comment[WLAN_COMMENT_MAX + 1];	/* User comment */
 
 	/* Channel Info request results (AP only) */
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index d918844..cd1cd58 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -997,7 +997,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev,
 	 * record length of the info record.
 	 */
 
-	cnt = sizeof(hfa384x_CommTallies32_t) / sizeof(u32);
+	cnt = sizeof(struct hfa384x_CommTallies32) / sizeof(u32);
 	if (inf->framelen > 22) {
 		dst = (u32 *)&hw->tallies;
 		src32 = (u32 *)&inf->info.commtallies32;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492761 — [PATCH 08/87] staging: wlang-ng: avoid new typedef: hfa384x_WPAData_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 08/87] staging: wlang-ng: avoid new typedef: hfa384x_WPAData_t
Message-ID<smqdt-Mt-65@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_WPAData_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 4 ++--
 drivers/staging/wlan-ng/prism2mib.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 385a332..f7dadfb 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -428,10 +428,10 @@ struct hfa384x_authenticateStation_data {
 } __packed;
 
 /*-- Configuration Record: WPAData       (data portion only) --*/
-typedef struct hfa384x_WPAData {
+struct hfa384x_WPAData {
 	u16 datalen;
 	u8 data[0];		/* max 80 */
-} __packed hfa384x_WPAData_t;
+} __packed;
 
 /*--------------------------------------------------------------------
  * Information Record Structures: NIC Information
diff --git a/drivers/staging/wlan-ng/prism2mib.c b/drivers/staging/wlan-ng/prism2mib.c
index 3442de3..95bab45 100644
--- a/drivers/staging/wlan-ng/prism2mib.c
+++ b/drivers/staging/wlan-ng/prism2mib.c
@@ -709,7 +709,7 @@ static int prism2mib_priv(struct mibrec *mib,
 
 	switch (mib->did) {
 	case DIDmib_lnx_lnxConfigTable_lnxRSNAIE:{
-			hfa384x_WPAData_t wpa;
+			struct hfa384x_WPAData wpa;
 
 			if (isget) {
 				hfa384x_drvr_getconfig(hw,
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492762 — [PATCH 43/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_error_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 43/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_error_t
Message-ID<smqdt-Mt-53@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_usb_error_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 09f7ce5..58b1ac5 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -891,10 +891,10 @@ struct hfa384x_usb_bufavail {
 	u16 frmlen;
 } __packed;
 
-typedef struct hfa384x_usb_error {
+struct hfa384x_usb_error {
 	u16 type;
 	u16 errortype;
-} __packed hfa384x_usb_error_t;
+} __packed;
 
 /*----------------------------------------------------------*/
 /* Unions for packaging all the known packet types together */
@@ -920,7 +920,7 @@ struct hfa384x_usb_bufavail {
 	struct hfa384x_usb_statusresp wmemresp;
 	struct hfa384x_usb_rmemresp rmemresp;
 	struct hfa384x_usb_bufavail bufavail;
-	hfa384x_usb_error_t usberror;
+	struct hfa384x_usb_error usberror;
 	u8 boguspad[3000];
 } __packed hfa384x_usbin_t;
 
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492763 — [PATCH 18/87] staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResultSub_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 18/87] staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResultSub_t
Message-ID<smqds-Mt-45@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_ChInfoResultSub_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h   | 6 +++---
 drivers/staging/wlan-ng/prism2sta.c | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 1da5a67..beb97d9 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -678,19 +678,19 @@ struct hfa384x_ScanResult {
 } __packed;
 
 /*--  Inquiry Frame, Diagnose: ChInfo Results & Subfields--*/
-typedef struct hfa384x_ChInfoResultSub {
+struct hfa384x_ChInfoResultSub {
 	u16 chid;
 	u16 anl;
 	u16 pnl;
 	u16 active;
-} __packed hfa384x_ChInfoResultSub_t;
+} __packed;
 
 #define HFA384x_CHINFORESULT_BSSACTIVE	BIT(0)
 #define HFA384x_CHINFORESULT_PCFACTIVE	BIT(1)
 
 typedef struct hfa384x_ChInfoResult {
 	u16 scanchannels;
-	hfa384x_ChInfoResultSub_t result[HFA384x_CHINFORESULT_MAX];
+	struct hfa384x_ChInfoResultSub result[HFA384x_CHINFORESULT_MAX];
 } __packed hfa384x_ChInfoResult_t;
 
 /*--  Inquiry Frame, Diagnose: Host Scan Results & Subfields--*/
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index 5dfa3fc..5773159 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1134,8 +1134,8 @@ static void prism2sta_inf_chinforesults(struct wlandevice *wlandev,
 	    le16_to_cpu(inf->info.chinforesult.scanchannels);
 
 	for (i = 0, n = 0; i < HFA384x_CHINFORESULT_MAX; i++) {
-		hfa384x_ChInfoResultSub_t *result;
-		hfa384x_ChInfoResultSub_t *chinforesult;
+		struct hfa384x_ChInfoResultSub *result;
+		struct hfa384x_ChInfoResultSub *chinforesult;
 		int chan;
 
 		if (!(hw->channel_info.results.scanchannels & (1 << i)))
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492764 — [PATCH 10/87] staging: wlang-ng: avoid new typedef: hfa384x_commsquality_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 10/87] staging: wlang-ng: avoid new typedef: hfa384x_commsquality_t
Message-ID<smqdt-Mt-75@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_commsquality_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 761d2c2..41d8a87 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -454,11 +454,11 @@ struct hfa384x_downloadbuffer {
 #define HFA384x_PSTATUS_CONN_IBSS	((u16)3)
 
 /*-- Information Record: commsquality --*/
-typedef struct hfa384x_commsquality {
+struct hfa384x_commsquality {
 	u16 CQ_currBSS;
 	u16 ASL_currBSS;
 	u16 ANL_currFC;
-} __packed hfa384x_commsquality_t;
+} __packed;
 
 /*-- Information Record: dmbcommsquality --*/
 typedef struct hfa384x_dbmcommsquality {
@@ -1305,7 +1305,7 @@ struct prism2sta_accesslist {
 	struct work_struct link_bh;
 
 	struct work_struct commsqual_bh;
-	hfa384x_commsquality_t qual;
+	struct hfa384x_commsquality qual;
 	struct timer_list commsqual_timer;
 
 	u16 link_status;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492765 — [PATCH 28/87] staging: wlang-ng: avoid new typedef: hfa384x_InfFrame_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 28/87] staging: wlang-ng: avoid new typedef: hfa384x_InfFrame_t
Message-ID<smqdt-Mt-55@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_InfFrame_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h    |  8 +++---
 drivers/staging/wlan-ng/prism2mgmt.h |  2 +-
 drivers/staging/wlan-ng/prism2sta.c  | 48 ++++++++++++++++++------------------
 3 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 7accea2..29d9bc5 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -774,11 +774,11 @@ struct hfa384x_KeyIDChanged {
 	struct hfa384x_KeyIDChanged keyidchanged;
 } __packed;
 
-typedef struct hfa384x_InfFrame {
+struct hfa384x_InfFrame {
 	u16 framelen;
 	u16 infotype;
 	union hfa384x_infodata info;
-} __packed hfa384x_InfFrame_t;
+} __packed;
 
 /*--------------------------------------------------------------------
  * USB Packet structures and constants.
@@ -862,7 +862,7 @@ struct hfa384x_KeyIDChanged {
 
 typedef struct hfa384x_usb_infofrm {
 	u16 type;
-	hfa384x_InfFrame_t info;
+	struct hfa384x_InfFrame info;
 } __packed hfa384x_usb_infofrm_t;
 
 typedef struct hfa384x_usb_statusresp {
@@ -1374,7 +1374,7 @@ struct prism2sta_accesslist {
 		struct hfa384x_ChInfoResult results;
 	} channel_info;
 
-	hfa384x_InfFrame_t *scanresults;
+	struct hfa384x_InfFrame *scanresults;
 
 	struct prism2sta_authlist authlist;	/* Authenticated station list. */
 	unsigned int accessmode;		/* Access mode. */
diff --git a/drivers/staging/wlan-ng/prism2mgmt.h b/drivers/staging/wlan-ng/prism2mgmt.h
index 5a4bc75..a275e97 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.h
+++ b/drivers/staging/wlan-ng/prism2mgmt.h
@@ -65,7 +65,7 @@
 
 u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate);
 
-void prism2sta_ev_info(struct wlandevice *wlandev, hfa384x_InfFrame_t *inf);
+void prism2sta_ev_info(struct wlandevice *wlandev, struct hfa384x_InfFrame *inf);
 void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status);
 void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status);
 void prism2sta_ev_alloc(struct wlandevice *wlandev);
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index fb47b82..d483fd1 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -110,25 +110,25 @@ static int prism2sta_txframe(struct wlandevice *wlandev, struct sk_buff *skb,
 static int prism2sta_setmulticast(struct wlandevice *wlandev, netdevice_t *dev);
 
 static void prism2sta_inf_handover(struct wlandevice *wlandev,
-				   hfa384x_InfFrame_t *inf);
+				   struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_tallies(struct wlandevice *wlandev,
-				  hfa384x_InfFrame_t *inf);
+				  struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev,
-					  hfa384x_InfFrame_t *inf);
+					  struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
-				      hfa384x_InfFrame_t *inf);
+				      struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_chinforesults(struct wlandevice *wlandev,
-					hfa384x_InfFrame_t *inf);
+					struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_linkstatus(struct wlandevice *wlandev,
-				     hfa384x_InfFrame_t *inf);
+				     struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
-				      hfa384x_InfFrame_t *inf);
+				      struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_authreq(struct wlandevice *wlandev,
-				  hfa384x_InfFrame_t *inf);
+				  struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_authreq_defer(struct wlandevice *wlandev,
-					hfa384x_InfFrame_t *inf);
+					struct hfa384x_InfFrame *inf);
 static void prism2sta_inf_psusercnt(struct wlandevice *wlandev,
-				    hfa384x_InfFrame_t *inf);
+				    struct hfa384x_InfFrame *inf);
 
 /*
  * prism2sta_open
@@ -960,7 +960,7 @@ static int prism2sta_setmulticast(struct wlandevice *wlandev, netdevice_t *dev)
  *	interrupt
  */
 static void prism2sta_inf_handover(struct wlandevice *wlandev,
-				   hfa384x_InfFrame_t *inf)
+				   struct hfa384x_InfFrame *inf)
 {
 	pr_debug("received infoframe:HANDOVER (unhandled)\n");
 }
@@ -983,7 +983,7 @@ static void prism2sta_inf_handover(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_tallies(struct wlandevice *wlandev,
-				  hfa384x_InfFrame_t *inf)
+				  struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	u16 *src16;
@@ -1029,7 +1029,7 @@ static void prism2sta_inf_tallies(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
-				      hfa384x_InfFrame_t *inf)
+				      struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	int nbss;
@@ -1084,7 +1084,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev,
-					  hfa384x_InfFrame_t *inf)
+					  struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	int nbss;
@@ -1097,7 +1097,7 @@ static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev,
 
 	kfree(hw->scanresults);
 
-	hw->scanresults = kmemdup(inf, sizeof(hfa384x_InfFrame_t), GFP_ATOMIC);
+	hw->scanresults = kmemdup(inf, sizeof(struct hfa384x_InfFrame), GFP_ATOMIC);
 
 	if (nbss == 0)
 		nbss = -1;
@@ -1125,7 +1125,7 @@ static void prism2sta_inf_hostscanresults(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_chinforesults(struct wlandevice *wlandev,
-					hfa384x_InfFrame_t *inf)
+					struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	unsigned int i, n;
@@ -1177,10 +1177,10 @@ void prism2sta_processing_defer(struct work_struct *data)
 	/* First let's process the auth frames */
 	{
 		struct sk_buff *skb;
-		hfa384x_InfFrame_t *inf;
+		struct hfa384x_InfFrame *inf;
 
 		while ((skb = skb_dequeue(&hw->authq))) {
-			inf = (hfa384x_InfFrame_t *)skb->data;
+			inf = (struct hfa384x_InfFrame *)skb->data;
 			prism2sta_inf_authreq_defer(wlandev, inf);
 		}
 
@@ -1438,7 +1438,7 @@ void prism2sta_processing_defer(struct work_struct *data)
  *	interrupt
  */
 static void prism2sta_inf_linkstatus(struct wlandevice *wlandev,
-				     hfa384x_InfFrame_t *inf)
+				     struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 
@@ -1466,7 +1466,7 @@ static void prism2sta_inf_linkstatus(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
-				      hfa384x_InfFrame_t *inf)
+				      struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	struct hfa384x_AssocStatus rec;
@@ -1527,7 +1527,7 @@ static void prism2sta_inf_assocstatus(struct wlandevice *wlandev,
  *
  */
 static void prism2sta_inf_authreq(struct wlandevice *wlandev,
-				  hfa384x_InfFrame_t *inf)
+				  struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	struct sk_buff *skb;
@@ -1542,7 +1542,7 @@ static void prism2sta_inf_authreq(struct wlandevice *wlandev,
 }
 
 static void prism2sta_inf_authreq_defer(struct wlandevice *wlandev,
-					hfa384x_InfFrame_t *inf)
+					struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 	struct hfa384x_authenticateStation_data rec;
@@ -1716,7 +1716,7 @@ static void prism2sta_inf_authreq_defer(struct wlandevice *wlandev,
  *	interrupt
  */
 static void prism2sta_inf_psusercnt(struct wlandevice *wlandev,
-				    hfa384x_InfFrame_t *inf)
+				    struct hfa384x_InfFrame *inf)
 {
 	hfa384x_t *hw = wlandev->priv;
 
@@ -1740,7 +1740,7 @@ static void prism2sta_inf_psusercnt(struct wlandevice *wlandev,
  * Call context:
  *	interrupt
  */
-void prism2sta_ev_info(struct wlandevice *wlandev, hfa384x_InfFrame_t *inf)
+void prism2sta_ev_info(struct wlandevice *wlandev, struct hfa384x_InfFrame *inf)
 {
 	inf->infotype = le16_to_cpu(inf->infotype);
 	/* Dispatch */
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492766 — [PATCH 29/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 29/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t
Message-ID<smqdt-Mt-83@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_usb_txfrm_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 29d9bc5..2d6f6a9 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -808,10 +808,10 @@ struct hfa384x_InfFrame {
 /*------------------------------------*/
 /* Request (bulk OUT) packet contents */
 
-typedef struct hfa384x_usb_txfrm {
+struct hfa384x_usb_txfrm {
 	struct hfa384x_tx_frame desc;
 	u8 data[WLAN_DATA_MAXLEN];
-} __packed hfa384x_usb_txfrm_t;
+} __packed;
 
 typedef struct hfa384x_usb_cmdreq {
 	u16 type;
@@ -905,7 +905,7 @@ struct hfa384x_InfFrame {
 
 typedef union hfa384x_usbout {
 	__le16 type;
-	hfa384x_usb_txfrm_t txfrm;
+	struct hfa384x_usb_txfrm txfrm;
 	hfa384x_usb_cmdreq_t cmdreq;
 	hfa384x_usb_wridreq_t wridreq;
 	hfa384x_usb_rridreq_t rridreq;
@@ -916,7 +916,7 @@ struct hfa384x_InfFrame {
 typedef union hfa384x_usbin {
 	__le16 type;
 	hfa384x_usb_rxfrm_t rxfrm;
-	hfa384x_usb_txfrm_t txfrm;
+	struct hfa384x_usb_txfrm txfrm;
 	hfa384x_usb_infofrm_t infofrm;
 	hfa384x_usb_cmdresp_t cmdresp;
 	hfa384x_usb_wridresp_t wridresp;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492767 — [PATCH 42/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_bufavail_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 42/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_bufavail_t
Message-ID<smqdt-Mt-85@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_usb_bufavail_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 955f22d..09f7ce5 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -886,10 +886,10 @@ struct hfa384x_usb_rmemresp {
 	u8 data[HFA384x_USB_RWMEM_MAXLEN];
 } __packed;
 
-typedef struct hfa384x_usb_bufavail {
+struct hfa384x_usb_bufavail {
 	u16 type;
 	u16 frmlen;
-} __packed hfa384x_usb_bufavail_t;
+} __packed;
 
 typedef struct hfa384x_usb_error {
 	u16 type;
@@ -919,7 +919,7 @@ struct hfa384x_usb_rmemresp {
 	struct hfa384x_usb_rridresp rridresp;
 	struct hfa384x_usb_statusresp wmemresp;
 	struct hfa384x_usb_rmemresp rmemresp;
-	hfa384x_usb_bufavail_t bufavail;
+	struct hfa384x_usb_bufavail bufavail;
 	hfa384x_usb_error_t usberror;
 	u8 boguspad[3000];
 } __packed hfa384x_usbin_t;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492768 — [PATCH 47/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_tracenum_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 47/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_tracenum_t
Message-ID<smqdt-Mt-77@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_pdr_pcb_tracenum_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 7ecbf2f..a989198 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -933,9 +933,9 @@ struct hfa384x_pdr_pcb_partnum {
 	u8 num[8];
 } __packed;
 
-typedef struct hfa384x_pdr_pcb_tracenum {
+struct hfa384x_pdr_pcb_tracenum {
 	u8 num[8];
-} __packed hfa384x_pdr_pcb_tracenum_t;
+} __packed;
 
 typedef struct hfa384x_pdr_nic_serial {
 	u8 num[12];
@@ -1095,7 +1095,7 @@ struct hfa384x_pdr_pcb_partnum {
 	u16 code;
 	union pdr {
 		struct hfa384x_pdr_pcb_partnum pcb_partnum;
-		hfa384x_pdr_pcb_tracenum_t pcb_tracenum;
+		struct hfa384x_pdr_pcb_tracenum pcb_tracenum;
 		hfa384x_pdr_nic_serial_t nic_serial;
 		hfa384x_pdr_mkk_measurements_t mkk_measurements;
 		hfa384x_pdr_nic_ramsize_t nic_ramsize;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492769 — [PATCH 12/87] staging: wlang-ng: avoid new typedef: hfa384x_tx_frame_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 12/87] staging: wlang-ng: avoid new typedef: hfa384x_tx_frame_t
Message-ID<smqdt-Mt-69@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_tx_frame_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h     | 6 +++---
 drivers/staging/wlan-ng/hfa384x_usb.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 1390236..cb416ce 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -474,7 +474,7 @@ struct hfa384x_dbmcommsquality {
  *--------------------------------------------------------------------
  */
 /*-- Communication Frame: Transmit Frame Structure --*/
-typedef struct hfa384x_tx_frame {
+struct hfa384x_tx_frame {
 	u16 status;
 	u16 reserved1;
 	u16 reserved2;
@@ -499,7 +499,7 @@ struct hfa384x_dbmcommsquality {
 	u8 dest_addr[6];
 	u8 src_addr[6];
 	u16 data_length;	/* big endian format */
-} __packed hfa384x_tx_frame_t;
+} __packed;
 /*--------------------------------------------------------------------
  * Communication Frames: Field Masks for Transmit Frames
  *--------------------------------------------------------------------
@@ -809,7 +809,7 @@ struct hfa384x_dbmcommsquality {
 /* Request (bulk OUT) packet contents */
 
 typedef struct hfa384x_usb_txfrm {
-	hfa384x_tx_frame_t desc;
+	struct hfa384x_tx_frame desc;
 	u8 data[WLAN_DATA_MAXLEN];
 } __packed hfa384x_usb_txfrm_t;
 
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 9c29311..044ca4d 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -2566,7 +2566,7 @@ int hfa384x_drvr_txframe(hfa384x_t *hw, struct sk_buff *skb,
 			 union p80211_hdr *p80211_hdr,
 			 struct p80211_metawep *p80211_wep)
 {
-	int usbpktlen = sizeof(hfa384x_tx_frame_t);
+	int usbpktlen = sizeof(struct hfa384x_tx_frame);
 	int result;
 	int ret;
 	char *ptr;
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1492770

FromGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Date2016-09-28 18:50 +0200
Message-ID<smqdu-Mt-93@gated-at.bofh.it>
In reply to#1492682
On Wed, Sep 28, 2016 at 7:27 PM, Sergio Paracuellos
<sergio.paracuellos@gmail.com> wrote:
> This patch series fix some warnings reported by checkpatch.pl script in hfa384x.h:
> WARNING: Block comments use * on subsequent lines
> WARNING: Block comments use a trailing */ on a separate line
> WARNING: do not add new typedefs
>
> Sergio Paracuellos (87):
[]

Why some of them (if not all) have duplicated Signed-off-by lines?

[toc] | [prev] | [next] | [standalone]


#1492794

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 19:50 +0200
Message-ID<smr9w-1mc-9@gated-at.bofh.it>
In reply to#1492770
True. That's a thing I'd like to know too :). I don't know what I did.

I'll fix them and resend the patchset again.

Thanks for let know.

Cheers,
	Sergio Paracuellos

El 2016年09月28日 a las 18:37, Giedrius Statkevičius escribió:
> On Wed, Sep 28, 2016 at 7:27 PM, Sergio Paracuellos
> <sergio.paracuellos@gmail.com> wrote:
>> This patch series fix some warnings reported by checkpatch.pl script in hfa384x.h:
>> WARNING: Block comments use * on subsequent lines
>> WARNING: Block comments use a trailing */ on a separate line
>> WARNING: do not add new typedefs
>>
>> Sergio Paracuellos (87):
> []
>
> Why some of them (if not all) have duplicated Signed-off-by lines?
>

[toc] | [prev] | [next] | [standalone]


#1492771 — [PATCH 26/87] staging: wlang-ng: avoid new typedef: hfa384x_KeyIDChanged_t

FromSergio Paracuellos <sergio.paracuellos@gmail.com>
Date2016-09-28 18:50 +0200
Subject[PATCH 26/87] staging: wlang-ng: avoid new typedef: hfa384x_KeyIDChanged_t
Message-ID<smqdu-Mt-97@gated-at.bofh.it>
In reply to#1492682
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs

It applies for typedef hfa384x_KeyIDChanged_t

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 4d078e2..532b1a7 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -755,10 +755,10 @@ struct hfa384x_PSUserCount {
 	u16 usercnt;
 } __packed;
 
-typedef struct hfa384x_KeyIDChanged {
+struct hfa384x_KeyIDChanged {
 	u8 sta_addr[ETH_ALEN];
 	u16 keyid;
-} __packed hfa384x_KeyIDChanged_t;
+} __packed;
 
 /*--  Collection of all Inf frames ---------------*/
 typedef union hfa384x_infodata {
@@ -771,7 +771,7 @@ struct hfa384x_PSUserCount {
 	struct hfa384x_AssocStatus assocstatus;
 	struct hfa384x_AuthRequest authreq;
 	struct hfa384x_PSUserCount psusercnt;
-	hfa384x_KeyIDChanged_t keyidchanged;
+	struct hfa384x_KeyIDChanged keyidchanged;
 } __packed hfa384x_infodata_t;
 
 typedef struct hfa384x_InfFrame {
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


Page 4 of 5 — ← Prev page 1 2 3 [4] 5  Next page →

Back to top | Article view | linux.kernel


csiph-web