aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Jester-Pfadt <t.jp@gmx.de>2014-01-11 18:55:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-13 18:19:41 -0500
commitc7333c114262dda2db28bf93b03a0ce8644b588a (patch)
tree490e02f37de1a33a89c2ed1bbcd0ef9278eb8911
parent3f35c7ff10679459ca3515c19de8c578d1904976 (diff)
Staging: rtl8188eu: Fixed "foo * bar" related coding style issues
This patch fixes all "foo * bar", "foo*bar", "foo* bar" checkpatch.pl errors for rtl8188eu. Signed-off-by: Tim Jester-Pfadt <t.jp@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/include/rtl8188e_hal.h2
-rw-r--r--drivers/staging/rtl8188eu/include/rtl8188e_recv.h6
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_ioctl_set.h4
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_led.h4
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_mlme.h2
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_mlme_ext.h12
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_mp.h8
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h2
8 files changed, 20 insertions, 20 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
index 8d1c37ebd4f2..161f1e5af9e6 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_hal.h
@@ -458,7 +458,7 @@ void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo,
458 bool AutoLoadFail); 458 bool AutoLoadFail);
459void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, 459void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent,
460 bool AutoLoadFail); 460 bool AutoLoadFail);
461void Hal_ReadThermalMeter_88E(struct adapter * dapter, u8 *PROMContent, 461void Hal_ReadThermalMeter_88E(struct adapter *dapter, u8 *PROMContent,
462 bool AutoloadFail); 462 bool AutoloadFail);
463void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, 463void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo,
464 bool AutoLoadFail); 464 bool AutoLoadFail);
diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_recv.h b/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
index 02ccb404f53d..a8facf00eac0 100644
--- a/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
+++ b/drivers/staging/rtl8188eu/include/rtl8188e_recv.h
@@ -58,11 +58,11 @@ enum rx_packet_type {
58#define INTERRUPT_MSG_FORMAT_LEN 60 58#define INTERRUPT_MSG_FORMAT_LEN 60
59void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); 59void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf);
60s32 rtl8188eu_init_recv_priv(struct adapter *padapter); 60s32 rtl8188eu_init_recv_priv(struct adapter *padapter);
61void rtl8188eu_free_recv_priv(struct adapter * padapter); 61void rtl8188eu_free_recv_priv(struct adapter *padapter);
62void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf); 62void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf);
63void rtl8188eu_recv_tasklet(void *priv); 63void rtl8188eu_recv_tasklet(void *priv);
64void rtl8188e_query_rx_phy_status(union recv_frame *fr, struct phy_stat *phy); 64void rtl8188e_query_rx_phy_status(union recv_frame *fr, struct phy_stat *phy);
65void rtl8188e_process_phy_info(struct adapter * padapter, void *prframe); 65void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe);
66void update_recvframe_phyinfo_88e(union recv_frame *fra, struct phy_stat *phy); 66void update_recvframe_phyinfo_88e(union recv_frame *fra, struct phy_stat *phy);
67void update_recvframe_attrib_88e(union recv_frame *fra, struct recv_stat *stat); 67void update_recvframe_attrib_88e(union recv_frame *fra, struct recv_stat *stat);
68 68
diff --git a/drivers/staging/rtl8188eu/include/rtw_ioctl_set.h b/drivers/staging/rtl8188eu/include/rtw_ioctl_set.h
index 49efb23747de..187fe1f32478 100644
--- a/drivers/staging/rtl8188eu/include/rtw_ioctl_set.h
+++ b/drivers/staging/rtl8188eu/include/rtw_ioctl_set.h
@@ -28,10 +28,10 @@ typedef u8 NDIS_802_11_PMKID_VALUE[16];
28u8 rtw_set_802_11_add_key(struct adapter *adapt, struct ndis_802_11_key *key); 28u8 rtw_set_802_11_add_key(struct adapter *adapt, struct ndis_802_11_key *key);
29u8 rtw_set_802_11_authentication_mode(struct adapter *adapt, 29u8 rtw_set_802_11_authentication_mode(struct adapter *adapt,
30 enum ndis_802_11_auth_mode authmode); 30 enum ndis_802_11_auth_mode authmode);
31u8 rtw_set_802_11_bssid(struct adapter*adapter, u8 *bssid); 31u8 rtw_set_802_11_bssid(struct adapter *adapter, u8 *bssid);
32u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep); 32u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep);
33u8 rtw_set_802_11_disassociate(struct adapter *adapter); 33u8 rtw_set_802_11_disassociate(struct adapter *adapter);
34u8 rtw_set_802_11_bssid_list_scan(struct adapter*adapter, 34u8 rtw_set_802_11_bssid_list_scan(struct adapter *adapter,
35 struct ndis_802_11_ssid *pssid, 35 struct ndis_802_11_ssid *pssid,
36 int ssid_max_num); 36 int ssid_max_num);
37u8 rtw_set_802_11_infrastructure_mode(struct adapter *adapter, 37u8 rtw_set_802_11_infrastructure_mode(struct adapter *adapter,
diff --git a/drivers/staging/rtl8188eu/include/rtw_led.h b/drivers/staging/rtl8188eu/include/rtw_led.h
index 87682cdbe2b5..0da4e27a70fa 100644
--- a/drivers/staging/rtl8188eu/include/rtw_led.h
+++ b/drivers/staging/rtl8188eu/include/rtw_led.h
@@ -182,7 +182,7 @@ struct led_priv{
182void BlinkTimerCallback(void *data); 182void BlinkTimerCallback(void *data);
183void BlinkWorkItemCallback(struct work_struct *work); 183void BlinkWorkItemCallback(struct work_struct *work);
184 184
185void ResetLedStatus(struct LED_871x * pLed); 185void ResetLedStatus(struct LED_871x *pLed);
186 186
187void InitLed871x(struct adapter *padapter, struct LED_871x *pLed, 187void InitLed871x(struct adapter *padapter, struct LED_871x *pLed,
188 enum LED_PIN_871x LedPin); 188 enum LED_PIN_871x LedPin);
@@ -190,7 +190,7 @@ void InitLed871x(struct adapter *padapter, struct LED_871x *pLed,
190void DeInitLed871x(struct LED_871x *pLed); 190void DeInitLed871x(struct LED_871x *pLed);
191 191
192/* hal... */ 192/* hal... */
193void BlinkHandler(struct LED_871x * pLed); 193void BlinkHandler(struct LED_871x *pLed);
194void SwLedOn(struct adapter *padapter, struct LED_871x *pLed); 194void SwLedOn(struct adapter *padapter, struct LED_871x *pLed);
195void SwLedOff(struct adapter *padapter, struct LED_871x *pLed); 195void SwLedOff(struct adapter *padapter, struct LED_871x *pLed);
196 196
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme.h b/drivers/staging/rtl8188eu/include/rtw_mlme.h
index f1b8233463fb..6cd988f867da 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mlme.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mlme.h
@@ -614,7 +614,7 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
614 struct wlan_network *pnetwork); 614 struct wlan_network *pnetwork);
615 615
616 616
617struct wlan_network* _rtw_find_network(struct __queue *scanned_queue, u8 *addr); 617struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *addr);
618 618
619void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall); 619void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall);
620 620
diff --git a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
index 7a4b5c64466a..f0c982d6d5f2 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
@@ -241,7 +241,7 @@ struct mlme_handler {
241 241
242struct action_handler { 242struct action_handler {
243 unsigned int num; 243 unsigned int num;
244 char* str; 244 char *str;
245 unsigned int (*func)(struct adapter *adapt, union recv_frame *frame); 245 unsigned int (*func)(struct adapter *adapt, union recv_frame *frame);
246}; 246};
247 247
@@ -484,7 +484,7 @@ void write_cam(struct adapter *padapter, u8 entry, u16 ctrl, u8 *mac, u8 *key);
484void clear_cam_entry(struct adapter *padapter, u8 entry); 484void clear_cam_entry(struct adapter *padapter, u8 entry);
485 485
486void invalidate_cam_all(struct adapter *padapter); 486void invalidate_cam_all(struct adapter *padapter);
487void CAM_empty_entry(struct adapter * Adapter, u8 ucIndex); 487void CAM_empty_entry(struct adapter *Adapter, u8 ucIndex);
488 488
489int allocate_fw_sta_entry(struct adapter *padapter); 489int allocate_fw_sta_entry(struct adapter *padapter);
490void flush_all_cam_entry(struct adapter *padapter); 490void flush_all_cam_entry(struct adapter *padapter);
@@ -548,11 +548,11 @@ void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame
548void report_surveydone_event(struct adapter *padapter); 548void report_surveydone_event(struct adapter *padapter);
549void report_del_sta_event(struct adapter *padapter, 549void report_del_sta_event(struct adapter *padapter,
550 unsigned char *addr, unsigned short reason); 550 unsigned char *addr, unsigned short reason);
551void report_add_sta_event(struct adapter *padapter, unsigned char* addr, 551void report_add_sta_event(struct adapter *padapter, unsigned char *addr,
552 int cam_idx); 552 int cam_idx);
553 553
554void beacon_timing_control(struct adapter *padapter); 554void beacon_timing_control(struct adapter *padapter);
555extern u8 set_tx_beacon_cmd(struct adapter*padapter); 555extern u8 set_tx_beacon_cmd(struct adapter *padapter);
556unsigned int setup_beacon_frame(struct adapter *padapter, 556unsigned int setup_beacon_frame(struct adapter *padapter,
557 unsigned char *beacon_frame); 557 unsigned char *beacon_frame);
558void update_mgnt_tx_rate(struct adapter *padapter, u8 rate); 558void update_mgnt_tx_rate(struct adapter *padapter, u8 rate);
@@ -574,7 +574,7 @@ int issue_probereq_p2p_ex(struct adapter *adapter, u8 *da, int try_cnt,
574 int wait_ms); 574 int wait_ms);
575void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr, 575void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr,
576 u8 dialogToken, u8 success); 576 u8 dialogToken, u8 success);
577void issue_p2p_invitation_request(struct adapter *padapter, u8* raddr); 577void issue_p2p_invitation_request(struct adapter *padapter, u8 *raddr);
578#endif /* CONFIG_88EU_P2P */ 578#endif /* CONFIG_88EU_P2P */
579void issue_beacon(struct adapter *padapter, int timeout_ms); 579void issue_beacon(struct adapter *padapter, int timeout_ms);
580void issue_probersp(struct adapter *padapter, unsigned char *da, 580void issue_probersp(struct adapter *padapter, unsigned char *da,
@@ -587,7 +587,7 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta,
587void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, 587void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid,
588 u8 *da); 588 u8 *da);
589s32 issue_probereq_ex(struct adapter *adapter, struct ndis_802_11_ssid *pssid, 589s32 issue_probereq_ex(struct adapter *adapter, struct ndis_802_11_ssid *pssid,
590 u8* da, int try_cnt, int wait_ms); 590 u8 *da, int try_cnt, int wait_ms);
591int issue_nulldata(struct adapter *padapter, unsigned char *da, 591int issue_nulldata(struct adapter *padapter, unsigned char *da,
592 unsigned int power_mode, int try_cnt, int wait_ms); 592 unsigned int power_mode, int try_cnt, int wait_ms);
593int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, 593int issue_qos_nulldata(struct adapter *padapter, unsigned char *da,
diff --git a/drivers/staging/rtl8188eu/include/rtw_mp.h b/drivers/staging/rtl8188eu/include/rtw_mp.h
index 6fea1da9bf9b..ffa299b8a6cb 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mp.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mp.h
@@ -477,13 +477,13 @@ void Hal_SetChannel(struct adapter *pAdapter);
477void Hal_SetAntennaPathPower(struct adapter *pAdapter); 477void Hal_SetAntennaPathPower(struct adapter *pAdapter);
478s32 Hal_SetThermalMeter(struct adapter *pAdapter, u8 target_ther); 478s32 Hal_SetThermalMeter(struct adapter *pAdapter, u8 target_ther);
479s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable); 479s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable);
480void Hal_GetPowerTracking(struct adapter *padapter, u8 * enable); 480void Hal_GetPowerTracking(struct adapter *padapter, u8 *enable);
481void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value); 481void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value);
482void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter); 482void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter);
483void Hal_MPT_CCKTxPowerAdjust(struct adapter * Adapter, bool bInCH14); 483void Hal_MPT_CCKTxPowerAdjust(struct adapter *Adapter, bool bInCH14);
484void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven); 484void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven);
485void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 * TxPower); 485void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 *TxPower);
486void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 * TxPower); 486void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 *TxPower);
487void Hal_TriggerRFThermalMeter(struct adapter *pAdapter); 487void Hal_TriggerRFThermalMeter(struct adapter *pAdapter);
488u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter); 488u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter);
489void Hal_SetCCKContinuousTx(struct adapter *pAdapter, u8 bStart); 489void Hal_SetCCKContinuousTx(struct adapter *pAdapter, u8 bStart);
diff --git a/drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h b/drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h
index 494e90e5a756..9388368a6b19 100644
--- a/drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h
+++ b/drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h
@@ -278,7 +278,7 @@ struct eeprom_rw_param {
278 278
279struct mp_ioctl_handler { 279struct mp_ioctl_handler {
280 u32 paramsize; 280 u32 paramsize;
281 s32 (*handler)(struct oid_par_priv* poid_par_priv); 281 s32 (*handler)(struct oid_par_priv *poid_par_priv);
282 u32 oid; 282 u32 oid;
283}; 283};
284 284