Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1492682 > unrolled thread
| Started by | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| First post | 2016-09-28 18:30 +0200 |
| Last post | 2016-09-28 18:50 +0200 |
| Articles | 20 on this page of 83 — 2 participants |
Back to article view | Back to linux.kernel
[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 1 of 5 [1] 2 3 4 5 Next page →
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:30 +0200 |
| Subject | [PATCH 00/87] Fix some style warnings in hfa384x.h |
| Message-ID | <smpU5-Ee-17@gated-at.bofh.it> |
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):
staging: wlang-ng: avoid new typedef: hfa384x_bytestr32_t
staging: wlang-ng: avoid new typedef: hfa384x_compident_t
staging: wlang-ng: Fix block comments style warnings in hfa384x.h
staging: wlang-ng: avoid new typedef: hfa384x_caplevel_t
staging: wlang-ng: avoid new typedef: hfa384x_HostScanRequest_data_t
staging: wlang-ng: avoid new typedef: hfa384x_JoinRequest_data_t
staging: wlang-ng: avoid new typedef:
hfa384x_authenticateStation_data_t
staging: wlang-ng: avoid new typedef: hfa384x_WPAData_t
staging: wlang-ng: avoid new typedef: hfa384x_downloadbuffer_t
staging: wlang-ng: avoid new typedef: hfa384x_commsquality_t
staging: wlang-ng: avoid new typedef: hfa384x_dbmcommsquality_t
staging: wlang-ng: avoid new typedef: hfa384x_tx_frame_t
staging: wlang-ng: avoid new typedef: hfa384x_rx_frame_t
staging: wlang-ng: avoid new typedef: hfa384x_CommTallies16_t
staging: wlang-ng: avoid new typedef: hfa384x_CommTallies32_t
staging: wlang-ng: avoid new typedef: hfa384x_ScanResultSub_t
staging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t
staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResultSub_t
staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResult_t
staging: wlang-ng: avoid new typedef: hfa384x_HScanResultSub_t
staging: wlang-ng: avoid new typedef: hfa384x_HScanResult_t
staging: wlang-ng: avoid new typedef: hfa384x_LinkStatus_t
staging: wlang-ng: avoid new typedef: hfa384x_AssocStatus_t
staging: wlang-ng: avoid new typedef: hfa384x_AuthReq_t
staging: wlang-ng: avoid new typedef: hfa384x_PSUserCount_t
staging: wlang-ng: avoid new typedef: hfa384x_KeyIDChanged_t
staging: wlang-ng: avoid new typedef: hfa384x_infodata_t
staging: wlang-ng: avoid new typedef: hfa384x_InfFrame_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdreq_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_wridreq_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_rridreq_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemreq_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_rmemreq_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_rxfrm_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_infofrm_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdresp_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_wridresp_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_rridresp_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemresp_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_rmemresp_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_bufavail_t
staging: wlang-ng: avoid new typedef: hfa384x_usb_error_t
staging: wlang-ng: avoid new typedef: hfa384x_usbout_t
staging: wlang-ng: avoid new typedef: hfa384x_usbin_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_partnum_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_pcb_tracenum_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_serial_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_mkk_measurements_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_ramsize_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_mfisuprange_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_cfisuprange_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_nicid_t
staging: wlang-ng: avoid new typedef:
hfa384x_pdr_refdac_measurements_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_measurements_t
staging: wlang-ng: avoid new typedef:
hfa384x_pdr_level_compc_measurements_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_mac_address_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_mkk_callname_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_regdomain_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_allowed_channel_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_default_channel_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_privacy_option_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_temptype_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_refdac_setup_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_setup_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_level_comp_setup_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_trimdac_setup_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_ifr_setting_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_rfr_setting_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_baseline_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_shadow_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_ifrf_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcalsp_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_chcali_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_nic_config_t
staging: wlang-ng: avoid new typedef: hfa384x_hfo_delay_t
staging: wlang-ng: avoid new typedef:
hfa384x_pdr_hfa3861_manf_testsp_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_manf_testi_t
staging: wlang-ng: avoid new typedef: hfa384x_pdr_end_of_pda_t
staging: wlang-ng: avoid new typedef: hfa384x_pdrec_t
staging: wlang-ng: avoid new typedef: hfa384x_cmdresult_t
staging: wlang-ng: avoid new typedef: hfa384x_rridresult_t
staging: wlang-ng: avoid new typedef: hfa384x_usbctlx_t
staging: wlang-ng: avoid new typedef: hfa384x_usbctlxq_t
staging: wlang-ng: avoid new typedef: hfa384x_metacmd_t
staging: wlang-ng: avoid new typedef: hfa384x_t
staging: wlang-ng: Fix block comments style warnings in hfa384x.h
drivers/staging/wlan-ng/hfa384x.h | 874 +++++++++++++++++-----------------
drivers/staging/wlan-ng/hfa384x_usb.c | 293 ++++++------
drivers/staging/wlan-ng/prism2fw.c | 22 +-
drivers/staging/wlan-ng/prism2mgmt.c | 26 +-
drivers/staging/wlan-ng/prism2mgmt.h | 7 +-
drivers/staging/wlan-ng/prism2mib.c | 38 +-
drivers/staging/wlan-ng/prism2sta.c | 130 ++---
drivers/staging/wlan-ng/prism2usb.c | 10 +-
8 files changed, 712 insertions(+), 688 deletions(-)
--
1.9.1
[toc] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 63/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_temptype_t |
| Message-ID | <smq3L-If-1@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_temptype_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 d84a25e..c1e5709 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1021,9 +1021,9 @@ struct hfa384x_pdr_privacy_option {
u16 available;
} __packed;
-typedef struct hfa384x_pdr_temptype {
+struct hfa384x_pdr_temptype {
u16 type;
-} __packed hfa384x_pdr_temptype_t;
+} __packed;
typedef struct hfa384x_pdr_refdac_setup {
u16 ch_value[14];
@@ -1111,7 +1111,7 @@ struct hfa384x_pdr_privacy_option {
struct hfa384x_pdr_allowed_channel allowed_channel;
struct hfa384x_pdr_default_channel default_channel;
struct hfa384x_pdr_privacy_option privacy_option;
- hfa384x_pdr_temptype_t temptype;
+ struct hfa384x_pdr_temptype temptype;
hfa384x_pdr_refdac_setup_t refdac_setup;
hfa384x_pdr_vgdac_setup_t vgdac_setup;
hfa384x_pdr_level_comp_setup_t level_comp_setup;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 38/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wridresp_t |
| Message-ID | <smq3L-If-5@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_wridresp_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 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 24e8ac4..18588d6 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -873,8 +873,6 @@ struct hfa384x_usb_statusresp {
u16 resp2;
} __packed;
-typedef struct hfa384x_usb_statusresp hfa384x_usb_wridresp_t;
-
typedef struct hfa384x_usb_rridresp {
u16 type;
u16 frmlen;
@@ -919,7 +917,7 @@ struct hfa384x_usb_statusresp {
struct hfa384x_usb_txfrm txfrm;
struct hfa384x_usb_infofrm infofrm;
struct hfa384x_usb_statusresp cmdresp;
- hfa384x_usb_wridresp_t wridresp;
+ struct hfa384x_usb_statusresp wridresp;
hfa384x_usb_rridresp_t rridresp;
hfa384x_usb_wmemresp_t wmemresp;
hfa384x_usb_rmemresp_t rmemresp;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 66/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_level_comp_setup_t |
| Message-ID | <smq3L-If-3@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_level_comp_setup_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 bab8665..4fc0760 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1033,9 +1033,9 @@ struct hfa384x_pdr_vgdac_setup {
u16 ch_value[14];
} __packed;
-typedef struct hfa384x_pdr_level_comp_setup {
+struct hfa384x_pdr_level_comp_setup {
u16 ch_value[14];
-} __packed hfa384x_pdr_level_comp_setup_t;
+} __packed;
typedef struct hfa384x_pdr_trimdac_setup {
u16 trimidac;
@@ -1114,7 +1114,7 @@ struct hfa384x_pdr_vgdac_setup {
struct hfa384x_pdr_temptype temptype;
struct hfa384x_pdr_refdac_setup refdac_setup;
struct hfa384x_pdr_vgdac_setup vgdac_setup;
- hfa384x_pdr_level_comp_setup_t level_comp_setup;
+ struct hfa384x_pdr_level_comp_setup level_comp_setup;
hfa384x_pdr_trimdac_setup_t trimdac_setup;
hfa384x_pdr_ifr_setting_t ifr_setting;
hfa384x_pdr_rfr_setting_t rfr_setting;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 40/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_wmemresp_t |
| Message-ID | <smq3L-If-7@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_wmemresp_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 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 0ba5517..28c008c 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -880,8 +880,6 @@ struct hfa384x_usb_rridresp {
u8 data[HFA384x_RIDDATA_MAXLEN];
} __packed;
-typedef struct hfa384x_usb_statusresp hfa384x_usb_wmemresp_t;
-
typedef struct hfa384x_usb_rmemresp {
u16 type;
u16 frmlen;
@@ -919,7 +917,7 @@ struct hfa384x_usb_rridresp {
struct hfa384x_usb_statusresp cmdresp;
struct hfa384x_usb_statusresp wridresp;
struct hfa384x_usb_rridresp rridresp;
- hfa384x_usb_wmemresp_t wmemresp;
+ struct hfa384x_usb_statusresp wmemresp;
hfa384x_usb_rmemresp_t rmemresp;
hfa384x_usb_bufavail_t bufavail;
hfa384x_usb_error_t usberror;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 61/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_default_channel_t |
| Message-ID | <smq3M-If-9@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_default_channel_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 00dbe8a..a0ab29d 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1013,9 +1013,9 @@ struct hfa384x_pdr_allowed_channel {
u16 ch_bitmap;
} __packed;
-typedef struct hfa384x_pdr_default_channel {
+struct hfa384x_pdr_default_channel {
u16 channel;
-} __packed hfa384x_pdr_default_channel_t;
+} __packed;
typedef struct hfa384x_pdr_privacy_option {
u16 available;
@@ -1109,7 +1109,7 @@ struct hfa384x_pdr_allowed_channel {
struct hfa384x_pdr_mkk_callname mkk_callname;
struct hfa384x_pdr_regdomain regdomain;
struct hfa384x_pdr_allowed_channel allowed_channel;
- hfa384x_pdr_default_channel_t default_channel;
+ struct hfa384x_pdr_default_channel default_channel;
hfa384x_pdr_privacy_option_t privacy_option;
hfa384x_pdr_temptype_t temptype;
hfa384x_pdr_refdac_setup_t refdac_setup;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 68/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_ifr_setting_t |
| Message-ID | <smq3M-If-11@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_ifr_setting_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 ff4ebd6..1400cb2 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1042,9 +1042,9 @@ struct hfa384x_pdr_trimdac_setup {
u16 trimqdac;
} __packed;
-typedef struct hfa384x_pdr_ifr_setting {
+struct hfa384x_pdr_ifr_setting {
u16 value[3];
-} __packed hfa384x_pdr_ifr_setting_t;
+} __packed;
typedef struct hfa384x_pdr_rfr_setting {
u16 value[3];
@@ -1116,7 +1116,7 @@ struct hfa384x_pdr_trimdac_setup {
struct hfa384x_pdr_vgdac_setup vgdac_setup;
struct hfa384x_pdr_level_comp_setup level_comp_setup;
struct hfa384x_pdr_trimdac_setup trimdac_setup;
- hfa384x_pdr_ifr_setting_t ifr_setting;
+ struct hfa384x_pdr_ifr_setting ifr_setting;
hfa384x_pdr_rfr_setting_t rfr_setting;
hfa384x_pdr_hfa3861_baseline_t hfa3861_baseline;
hfa384x_pdr_hfa3861_shadow_t hfa3861_shadow;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 37/87] staging: wlang-ng: avoid new typedef: hfa384x_usb_cmdresp_t |
| Message-ID | <smq3M-If-13@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_cmdresp_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 | 10 +++++-----
drivers/staging/wlan-ng/hfa384x_usb.c | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 1113676..24e8ac4 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -865,15 +865,15 @@ struct hfa384x_usb_infofrm {
struct hfa384x_InfFrame info;
} __packed;
-typedef struct hfa384x_usb_statusresp {
+struct hfa384x_usb_statusresp {
u16 type;
u16 status;
u16 resp0;
u16 resp1;
u16 resp2;
-} __packed hfa384x_usb_cmdresp_t;
+} __packed;
-typedef hfa384x_usb_cmdresp_t hfa384x_usb_wridresp_t;
+typedef struct hfa384x_usb_statusresp hfa384x_usb_wridresp_t;
typedef struct hfa384x_usb_rridresp {
u16 type;
@@ -882,7 +882,7 @@ struct hfa384x_usb_infofrm {
u8 data[HFA384x_RIDDATA_MAXLEN];
} __packed hfa384x_usb_rridresp_t;
-typedef hfa384x_usb_cmdresp_t hfa384x_usb_wmemresp_t;
+typedef struct hfa384x_usb_statusresp hfa384x_usb_wmemresp_t;
typedef struct hfa384x_usb_rmemresp {
u16 type;
@@ -918,7 +918,7 @@ struct hfa384x_usb_infofrm {
struct hfa384x_usb_rxfrm rxfrm;
struct hfa384x_usb_txfrm txfrm;
struct hfa384x_usb_infofrm infofrm;
- hfa384x_usb_cmdresp_t cmdresp;
+ struct hfa384x_usb_statusresp cmdresp;
hfa384x_usb_wridresp_t wridresp;
hfa384x_usb_rridresp_t rridresp;
hfa384x_usb_wmemresp_t wmemresp;
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 76d1223..7d09f25 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -212,7 +212,7 @@ struct usbctlx_completor {
static void hfa384x_cb_status(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx);
static int
-usbctlx_get_status(const hfa384x_usb_cmdresp_t *cmdresp,
+usbctlx_get_status(const struct hfa384x_usb_statusresp *cmdresp,
hfa384x_cmdresult_t *result);
static void
@@ -621,7 +621,7 @@ static hfa384x_usbctlx_t *usbctlx_alloc(void)
}
static int
-usbctlx_get_status(const hfa384x_usb_cmdresp_t *cmdresp,
+usbctlx_get_status(const struct hfa384x_usb_statusresp *cmdresp,
hfa384x_cmdresult_t *result)
{
result->status = le16_to_cpu(cmdresp->status);
@@ -652,7 +652,7 @@ static hfa384x_usbctlx_t *usbctlx_alloc(void)
struct usbctlx_cmd_completor {
struct usbctlx_completor head;
- const hfa384x_usb_cmdresp_t *cmdresp;
+ const struct hfa384x_usb_statusresp *cmdresp;
hfa384x_cmdresult_t *result;
};
@@ -667,7 +667,7 @@ static inline int usbctlx_cmd_completor_fn(struct usbctlx_completor *head)
static inline struct usbctlx_completor *init_cmd_completor(
struct usbctlx_cmd_completor
*completor,
- const hfa384x_usb_cmdresp_t
+ const struct hfa384x_usb_statusresp
*cmdresp,
hfa384x_cmdresult_t *result)
{
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 45/87] staging: wlang-ng: avoid new typedef: hfa384x_usbin_t |
| Message-ID | <smq3M-If-19@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_usbin_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 | 21 +++++++++++----------
2 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 2365edc..f715f5f 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -909,7 +909,7 @@ struct hfa384x_usb_error {
struct hfa384x_usb_rmemreq rmemreq;
} __packed;
-typedef union hfa384x_usbin {
+union hfa384x_usbin {
__le16 type;
struct hfa384x_usb_rxfrm rxfrm;
struct hfa384x_usb_txfrm txfrm;
@@ -922,7 +922,7 @@ struct hfa384x_usb_error {
struct hfa384x_usb_bufavail bufavail;
struct hfa384x_usb_error usberror;
u8 boguspad[3000];
-} __packed hfa384x_usbin_t;
+} __packed;
/*--------------------------------------------------------------------
* PD record structures.
@@ -1184,7 +1184,7 @@ typedef void (*ctlx_usercb_t) (struct hfa384x *hw,
size_t outbufsize;
union hfa384x_usbout outbuf; /* pkt buf for OUT */
- hfa384x_usbin_t inbuf; /* pkt buf for IN(a copy) */
+ union hfa384x_usbin inbuf; /* pkt buf for IN(a copy) */
CTLX_STATE state; /* Tracks running state */
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index d76ec2a..9203880 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -169,13 +169,13 @@ enum cmd_mode {
static void hfa384x_usbin_callback(struct urb *urb);
static void
-hfa384x_usbin_txcompl(struct wlandevice *wlandev, hfa384x_usbin_t *usbin);
+hfa384x_usbin_txcompl(struct wlandevice *wlandev, union hfa384x_usbin *usbin);
static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb);
-static void hfa384x_usbin_info(struct wlandevice *wlandev, hfa384x_usbin_t *usbin);
+static void hfa384x_usbin_info(struct wlandevice *wlandev, union hfa384x_usbin *usbin);
-static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin,
+static void hfa384x_usbin_ctlx(hfa384x_t *hw, union hfa384x_usbin *usbin,
int urb_status);
/*---------------------------------------------------*/
@@ -327,7 +327,7 @@ static int submit_rx_urb(hfa384x_t *hw, gfp_t memflags)
struct sk_buff *skb;
int result;
- skb = dev_alloc_skb(sizeof(hfa384x_usbin_t));
+ skb = dev_alloc_skb(sizeof(union hfa384x_usbin));
if (!skb) {
result = -ENOMEM;
goto done;
@@ -336,7 +336,7 @@ static int submit_rx_urb(hfa384x_t *hw, gfp_t memflags)
/* Post the IN urb */
usb_fill_bulk_urb(&hw->rx_urb, hw->usb,
hw->endp_in,
- skb->data, sizeof(hfa384x_usbin_t),
+ skb->data, sizeof(union hfa384x_usbin),
hfa384x_usbin_callback, hw->wlandev);
hw->rx_urb_skb = skb;
@@ -2990,7 +2990,7 @@ static void hfa384x_usbin_callback(struct urb *urb)
{
struct wlandevice *wlandev = urb->context;
hfa384x_t *hw;
- hfa384x_usbin_t *usbin = (hfa384x_usbin_t *)urb->transfer_buffer;
+ union hfa384x_usbin *usbin = (union hfa384x_usbin *)urb->transfer_buffer;
struct sk_buff *skb = NULL;
int result;
int urb_status;
@@ -3166,7 +3166,7 @@ static void hfa384x_usbin_callback(struct urb *urb)
* Call context:
* interrupt
----------------------------------------------------------------*/
-static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin,
+static void hfa384x_usbin_ctlx(hfa384x_t *hw, union hfa384x_usbin *usbin,
int urb_status)
{
hfa384x_usbctlx_t *ctlx;
@@ -3286,7 +3286,7 @@ static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin,
* interrupt
----------------------------------------------------------------*/
static void hfa384x_usbin_txcompl(struct wlandevice *wlandev,
- hfa384x_usbin_t *usbin)
+ union hfa384x_usbin *usbin)
{
u16 status;
@@ -3318,7 +3318,7 @@ static void hfa384x_usbin_txcompl(struct wlandevice *wlandev,
----------------------------------------------------------------*/
static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb)
{
- hfa384x_usbin_t *usbin = (hfa384x_usbin_t *)skb->data;
+ union hfa384x_usbin *usbin = (union hfa384x_usbin *)skb->data;
hfa384x_t *hw = wlandev->priv;
int hdrlen;
struct p80211_rxmeta *rxmeta;
@@ -3517,7 +3517,8 @@ static void hfa384x_int_rxmonitor(struct wlandevice *wlandev,
* Call context:
* interrupt
----------------------------------------------------------------*/
-static void hfa384x_usbin_info(struct wlandevice *wlandev, hfa384x_usbin_t *usbin)
+static void hfa384x_usbin_info(struct wlandevice *wlandev,
+ union hfa384x_usbin *usbin)
{
usbin->infofrm.info.framelen =
le16_to_cpu(usbin->infofrm.info.framelen);
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 06/87] staging: wlang-ng: avoid new typedef: hfa384x_JoinRequest_data_t |
| Message-ID | <smq3M-If-37@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_JoinRequest_data_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 | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 2ac10a0..46487da 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -266,7 +266,7 @@
#define HFA384x_RID_DBMCOMMSQUALITY_LEN \
((u16)sizeof(hfa384x_dbmcommsquality_t))
#define HFA384x_RID_JOINREQUEST_LEN \
- ((u16)sizeof(hfa384x_JoinRequest_data_t))
+ ((u16)sizeof(struct hfa384x_JoinRequest_data))
/*--------------------------------------------------------------------
* Information RIDs: Modem Information
@@ -415,10 +415,10 @@ struct hfa384x_HostScanRequest_data {
} __packed;
/*-- Configuration Record: JoinRequest (data portion only) --*/
-typedef struct hfa384x_JoinRequest_data {
+struct hfa384x_JoinRequest_data {
u8 bssid[WLAN_BSSID_LEN];
u16 channel;
-} __packed hfa384x_JoinRequest_data_t;
+} __packed;
/*-- Configuration Record: authenticateStation (data portion only) --*/
typedef struct hfa384x_authenticateStation_data {
@@ -1298,7 +1298,7 @@ struct prism2sta_accesslist {
int scanflag; /* to signal scan complete */
int join_ap; /* are we joined to a specific ap */
int join_retries; /* number of join retries till we fail */
- hfa384x_JoinRequest_data_t joinreq; /* join request saved data */
+ struct hfa384x_JoinRequest_data joinreq; /* join request saved data */
struct wlandevice *wlandev;
/* Timer to allow for the deferred processing of linkstatus messages */
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index 5b51550..a4619e7 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1035,7 +1035,7 @@ static void prism2sta_inf_scanresults(struct wlandevice *wlandev,
int nbss;
hfa384x_ScanResult_t *sr = &(inf->info.scanresult);
int i;
- hfa384x_JoinRequest_data_t joinreq;
+ struct hfa384x_JoinRequest_data joinreq;
int result;
/* Get the number of results, first in bytes, then in results */
@@ -1389,7 +1389,7 @@ void prism2sta_processing_defer(struct work_struct *data)
* Disable Transmits, Ignore receives of data frames
*/
if (hw->join_ap && --hw->join_retries > 0) {
- hfa384x_JoinRequest_data_t joinreq;
+ struct hfa384x_JoinRequest_data joinreq;
joinreq = hw->joinreq;
/* Send the join request */
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 71/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_shadow_t |
| Message-ID | <smq3M-If-27@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_hfa3861_shadow_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 306f3bb..ebe434f 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1054,9 +1054,9 @@ struct hfa384x_pdr_hfa3861_baseline {
u16 value[50];
} __packed;
-typedef struct hfa384x_pdr_hfa3861_shadow {
+struct hfa384x_pdr_hfa3861_shadow {
u32 value[32];
-} __packed hfa384x_pdr_hfa3861_shadow_t;
+} __packed;
typedef struct hfa384x_pdr_hfa3861_ifrf {
u32 value[20];
@@ -1119,7 +1119,7 @@ struct hfa384x_pdr_hfa3861_baseline {
struct hfa384x_pdr_ifr_setting ifr_setting;
struct hfa384x_pdr_rfr_setting rfr_setting;
struct hfa384x_pdr_hfa3861_baseline hfa3861_baseline;
- hfa384x_pdr_hfa3861_shadow_t hfa3861_shadow;
+ struct hfa384x_pdr_hfa3861_shadow hfa3861_shadow;
hfa384x_pdr_hfa3861_ifrf_t hfa3861_ifrf;
hfa384x_pdr_hfa3861_chcalsp_t hfa3861_chcalsp;
hfa384x_pdr_hfa3861_chcali_t hfa3861_chcali;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 69/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_rfr_setting_t |
| Message-ID | <smq3M-If-25@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_rfr_setting_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 1400cb2..b51b568 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1046,9 +1046,9 @@ struct hfa384x_pdr_ifr_setting {
u16 value[3];
} __packed;
-typedef struct hfa384x_pdr_rfr_setting {
+struct hfa384x_pdr_rfr_setting {
u16 value[3];
-} __packed hfa384x_pdr_rfr_setting_t;
+} __packed;
typedef struct hfa384x_pdr_hfa3861_baseline {
u16 value[50];
@@ -1117,7 +1117,7 @@ struct hfa384x_pdr_ifr_setting {
struct hfa384x_pdr_level_comp_setup level_comp_setup;
struct hfa384x_pdr_trimdac_setup trimdac_setup;
struct hfa384x_pdr_ifr_setting ifr_setting;
- hfa384x_pdr_rfr_setting_t rfr_setting;
+ struct hfa384x_pdr_rfr_setting rfr_setting;
hfa384x_pdr_hfa3861_baseline_t hfa3861_baseline;
hfa384x_pdr_hfa3861_shadow_t hfa3861_shadow;
hfa384x_pdr_hfa3861_ifrf_t hfa3861_ifrf;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 76/87] staging: wlang-ng: avoid new typedef: hfa384x_hfo_delay_t |
| Message-ID | <smq3M-If-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_hfo_delay_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 ce85adf..4817b01 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1074,9 +1074,9 @@ struct hfa384x_pdr_hfa3861_nic_config {
u16 config_bitmap;
} __packed;
-typedef struct hfa384x_pdr_hfo_delay {
+struct hfa384x_pdr_hfo_delay {
u8 hfo_delay;
-} __packed hfa384x_hfo_delay_t;
+} __packed;
typedef struct hfa384x_pdr_hfa3861_manf_testsp {
u16 value[30];
@@ -1124,7 +1124,7 @@ struct hfa384x_pdr_hfa3861_nic_config {
struct hfa384x_pdr_hfa3861_chcalsp hfa3861_chcalsp;
struct hfa384x_pdr_hfa3861_chcali hfa3861_chcali;
struct hfa384x_pdr_hfa3861_nic_config nic_config;
- hfa384x_hfo_delay_t hfo_delay;
+ struct hfa384x_pdr_hfo_delay hfo_delay;
hfa384x_pdr_hfa3861_manf_testsp_t hfa3861_manf_testsp;
hfa384x_pdr_hfa3861_manf_testi_t hfa3861_manf_testi;
hfa384x_pdr_end_of_pda_t end_of_pda;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 72/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_hfa3861_ifrf_t |
| Message-ID | <smq3M-If-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_pdr_hfa3861_ifrf_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 ebe434f..25f89ad9 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1058,9 +1058,9 @@ struct hfa384x_pdr_hfa3861_shadow {
u32 value[32];
} __packed;
-typedef struct hfa384x_pdr_hfa3861_ifrf {
+struct hfa384x_pdr_hfa3861_ifrf {
u32 value[20];
-} __packed hfa384x_pdr_hfa3861_ifrf_t;
+} __packed;
typedef struct hfa384x_pdr_hfa3861_chcalsp {
u16 value[14];
@@ -1120,7 +1120,7 @@ struct hfa384x_pdr_hfa3861_shadow {
struct hfa384x_pdr_rfr_setting rfr_setting;
struct hfa384x_pdr_hfa3861_baseline hfa3861_baseline;
struct hfa384x_pdr_hfa3861_shadow hfa3861_shadow;
- hfa384x_pdr_hfa3861_ifrf_t hfa3861_ifrf;
+ struct hfa384x_pdr_hfa3861_ifrf hfa3861_ifrf;
hfa384x_pdr_hfa3861_chcalsp_t hfa3861_chcalsp;
hfa384x_pdr_hfa3861_chcali_t hfa3861_chcali;
hfa384x_pdr_nic_config_t nic_config;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 55/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_vgdac_measurements_t |
| Message-ID | <smq3M-If-31@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_vgdac_measurements_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 47aa64a..b0a4b24 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -988,9 +988,9 @@ struct hfa384x_pdr_refdac_measurements {
u16 value[0];
} __packed;
-typedef struct hfa384x_pdr_vgdac_measurements {
+struct hfa384x_pdr_vgdac_measurements {
u16 value[0];
-} __packed hfa384x_pdr_vgdac_measurements_t;
+} __packed;
typedef struct hfa384x_pdr_level_comp_measurements {
u16 value[0];
@@ -1103,7 +1103,7 @@ struct hfa384x_pdr_refdac_measurements {
struct hfa384x_pdr_cfisuprange cfisuprange;
struct hfa384x_pdr_nicid nicid;
struct hfa384x_pdr_refdac_measurements refdac_measurements;
- hfa384x_pdr_vgdac_measurements_t vgdac_measurements;
+ struct hfa384x_pdr_vgdac_measurements vgdac_measurements;
hfa384x_pdr_level_compc_measurements_t level_compc_measurements;
hfa384x_pdr_mac_address_t mac_address;
hfa384x_pdr_mkk_callname_t mkk_callname;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 54/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_refdac_measurements_t |
| Message-ID | <smq3M-If-33@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_refdac_measurements_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 68267b5..47aa64a 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -984,9 +984,9 @@ struct hfa384x_pdr_nicid {
u16 minor;
} __packed;
-typedef struct hfa384x_pdr_refdac_measurements {
+struct hfa384x_pdr_refdac_measurements {
u16 value[0];
-} __packed hfa384x_pdr_refdac_measurements_t;
+} __packed;
typedef struct hfa384x_pdr_vgdac_measurements {
u16 value[0];
@@ -1102,7 +1102,7 @@ struct hfa384x_pdr_nicid {
struct hfa384x_pdr_mfisuprange mfisuprange;
struct hfa384x_pdr_cfisuprange cfisuprange;
struct hfa384x_pdr_nicid nicid;
- hfa384x_pdr_refdac_measurements_t refdac_measurements;
+ struct hfa384x_pdr_refdac_measurements refdac_measurements;
hfa384x_pdr_vgdac_measurements_t vgdac_measurements;
hfa384x_pdr_level_compc_measurements_t level_compc_measurements;
hfa384x_pdr_mac_address_t mac_address;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 52/87] staging: wlang-ng: avoid new typedef: hfa384x_pdr_cfisuprange_t |
| Message-ID | <smq3M-If-35@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_cfisuprange_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 d558a1f..26d72a3 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -970,12 +970,12 @@ struct hfa384x_pdr_mfisuprange {
u16 top;
} __packed;
-typedef struct hfa384x_pdr_cfisuprange {
+struct hfa384x_pdr_cfisuprange {
u16 id;
u16 variant;
u16 bottom;
u16 top;
-} __packed hfa384x_pdr_cfisuprange_t;
+} __packed;
typedef struct hfa384x_pdr_nicid {
u16 id;
@@ -1100,7 +1100,7 @@ struct hfa384x_pdr_mfisuprange {
struct hfa384x_pdr_mkk_measurements mkk_measurements;
struct hfa384x_pdr_nic_ramsize nic_ramsize;
struct hfa384x_pdr_mfisuprange mfisuprange;
- hfa384x_pdr_cfisuprange_t cfisuprange;
+ struct hfa384x_pdr_cfisuprange cfisuprange;
hfa384x_pdr_nicid_t nicid;
hfa384x_pdr_refdac_measurements_t refdac_measurements;
hfa384x_pdr_vgdac_measurements_t vgdac_measurements;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 80/87] staging: wlang-ng: avoid new typedef: hfa384x_pdrec_t |
| Message-ID | <smq3M-If-39@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_pdrec_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/prism2fw.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 45bc4a8..57c394d 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1090,7 +1090,7 @@ struct hfa384x_pdr_end_of_pda {
u16 crc;
} __packed;
-typedef struct hfa384x_pdrec {
+struct hfa384x_pdrec {
u16 len; /* in words */
u16 code;
union pdr {
@@ -1130,7 +1130,7 @@ struct hfa384x_pdr_end_of_pda {
struct hfa384x_pdr_end_of_pda end_of_pda;
} data;
-} __packed hfa384x_pdrec_t;
+} __packed;
#ifdef __KERNEL__
/*--------------------------------------------------------------------
diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
index ca322fa..96aa211 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -105,7 +105,7 @@ struct s3inforec {
struct pda {
u8 buf[HFA384x_PDA_LEN_MAX];
- hfa384x_pdrec_t *rec[HFA384x_PDA_RECS_MAX];
+ struct hfa384x_pdrec *rec[HFA384x_PDA_RECS_MAX];
unsigned int nrec;
};
@@ -266,7 +266,7 @@ static int prism2_fwapply(const struct ihex_binrec *rfptr,
/* clear the pda and add an initial END record */
memset(&pda, 0, sizeof(pda));
- pda.rec[0] = (hfa384x_pdrec_t *)pda.buf;
+ pda.rec[0] = (struct hfa384x_pdrec *)pda.buf;
pda.rec[0]->len = cpu_to_le16(2); /* len in words */
pda.rec[0]->code = cpu_to_le16(HFA384x_PDR_END_OF_PDA);
pda.nrec = 1;
@@ -599,7 +599,7 @@ static int mkpdrlist(struct pda *pda)
curroff = 0;
while (curroff < (HFA384x_PDA_LEN_MAX / 2 - 1) &&
le16_to_cpu(pda16[curroff + 1]) != HFA384x_PDR_END_OF_PDA) {
- pda->rec[pda->nrec] = (hfa384x_pdrec_t *)&(pda16[curroff]);
+ pda->rec[pda->nrec] = (struct hfa384x_pdrec *)&(pda16[curroff]);
if (le16_to_cpu(pda->rec[pda->nrec]->code) ==
HFA384x_PDR_NICID) {
@@ -638,7 +638,7 @@ static int mkpdrlist(struct pda *pda)
curroff, pda->nrec);
return 1;
}
- pda->rec[pda->nrec] = (hfa384x_pdrec_t *)&(pda16[curroff]);
+ pda->rec[pda->nrec] = (struct hfa384x_pdrec *)&(pda16[curroff]);
(pda->nrec)++;
return 0;
}
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 44/87] staging: wlang-ng: avoid new typedef: hfa384x_usbout_t |
| Message-ID | <smq3M-If-29@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_usbout_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 58b1ac5..2365edc 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -899,7 +899,7 @@ struct hfa384x_usb_error {
/*----------------------------------------------------------*/
/* Unions for packaging all the known packet types together */
-typedef union hfa384x_usbout {
+union hfa384x_usbout {
__le16 type;
struct hfa384x_usb_txfrm txfrm;
struct hfa384x_usb_cmdreq cmdreq;
@@ -907,7 +907,7 @@ struct hfa384x_usb_error {
struct hfa384x_usb_rridreq rridreq;
struct hfa384x_usb_wmemreq wmemreq;
struct hfa384x_usb_rmemreq rmemreq;
-} __packed hfa384x_usbout_t;
+} __packed;
typedef union hfa384x_usbin {
__le16 type;
@@ -1183,7 +1183,7 @@ typedef void (*ctlx_usercb_t) (struct hfa384x *hw,
struct list_head list;
size_t outbufsize;
- hfa384x_usbout_t outbuf; /* pkt buf for OUT */
+ union hfa384x_usbout outbuf; /* pkt buf for OUT */
hfa384x_usbin_t inbuf; /* pkt buf for IN(a copy) */
CTLX_STATE state; /* Tracks running state */
@@ -1248,7 +1248,7 @@ struct prism2sta_accesslist {
struct sk_buff *rx_urb_skb;
struct urb tx_urb;
struct urb ctlx_urb;
- hfa384x_usbout_t txbuff;
+ union hfa384x_usbout txbuff;
hfa384x_usbctlxq_t ctlxq;
struct timer_list reqtimer;
struct timer_list resptimer;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Sergio Paracuellos <sergio.paracuellos@gmail.com> |
|---|---|
| Date | 2016-09-28 18:40 +0200 |
| Subject | [PATCH 01/87] staging: wlang-ng: avoid new typedef: hfa384x_bytestr32_t |
| Message-ID | <smq3N-If-57@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_bytestr32_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 | 10 +++++-----
drivers/staging/wlan-ng/prism2sta.c | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 4cf4796..5df4e1f 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -356,10 +356,10 @@ struct hfa384x_bytestr {
u8 data[0];
} __packed;
-typedef struct hfa384x_bytestr32 {
+struct hfa384x_bytestr32 {
u16 len;
u8 data[32];
-} __packed hfa384x_bytestr32_t;
+} __packed;
/*--------------------------------------------------------------------
Configuration Record Structures:
@@ -398,7 +398,7 @@ struct hfa384x_bytestr {
typedef struct hfa384x_HostScanRequest_data {
u16 channelList;
u16 txRate;
- hfa384x_bytestr32_t ssid;
+ struct hfa384x_bytestr32 ssid;
} __packed hfa384x_HostScanRequest_data_t;
/*-- Configuration Record: JoinRequest (data portion only) --*/
@@ -643,7 +643,7 @@ struct hfa384x_bytestr {
u8 bssid[WLAN_BSSID_LEN];
u16 bcnint;
u16 capinfo;
- hfa384x_bytestr32_t ssid;
+ struct hfa384x_bytestr32 ssid;
u8 supprates[10]; /* 802.11 info element */
u16 proberesp_rate;
} __packed hfa384x_ScanResultSub_t;
@@ -678,7 +678,7 @@ struct hfa384x_bytestr {
u8 bssid[WLAN_BSSID_LEN];
u16 bcnint;
u16 capinfo;
- hfa384x_bytestr32_t ssid;
+ struct hfa384x_bytestr32 ssid;
u8 supprates[10]; /* 802.11 info element */
u16 proberesp_rate;
u16 atim;
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index a39b294..ec51db2 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1171,7 +1171,7 @@ void prism2sta_processing_defer(struct work_struct *data)
{
hfa384x_t *hw = container_of(data, struct hfa384x, link_bh);
struct wlandevice *wlandev = hw->wlandev;
- hfa384x_bytestr32_t ssid;
+ struct hfa384x_bytestr32 ssid;
int result;
/* First let's process the auth frames */
@@ -1914,7 +1914,7 @@ void prism2sta_commsqual_defer(struct work_struct *data)
{
hfa384x_t *hw = container_of(data, struct hfa384x, commsqual_bh);
struct wlandevice *wlandev = hw->wlandev;
- hfa384x_bytestr32_t ssid;
+ struct hfa384x_bytestr32 ssid;
struct p80211msg_dot11req_mibget msg;
struct p80211item_uint32 *mibitem = (struct p80211item_uint32 *)
&msg.mibattribute.data;
--
1.9.1
[toc] | [prev] | [next] | [standalone]
Page 1 of 5 [1] 2 3 4 5 Next page →
Back to top | Article view | linux.kernel
csiph-web