diff options
author | Tim Jester-Pfadt <t.jp@gmx.de> | 2014-01-11 18:55:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-13 18:19:41 -0500 |
commit | c7333c114262dda2db28bf93b03a0ce8644b588a (patch) | |
tree | 490e02f37de1a33a89c2ed1bbcd0ef9278eb8911 | |
parent | 3f35c7ff10679459ca3515c19de8c578d1904976 (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.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 6 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_ioctl_set.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_led.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_mlme.h | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_mlme_ext.h | 12 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_mp.h | 8 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h | 2 |
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); |
459 | void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, | 459 | void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, |
460 | bool AutoLoadFail); | 460 | bool AutoLoadFail); |
461 | void Hal_ReadThermalMeter_88E(struct adapter * dapter, u8 *PROMContent, | 461 | void Hal_ReadThermalMeter_88E(struct adapter *dapter, u8 *PROMContent, |
462 | bool AutoloadFail); | 462 | bool AutoloadFail); |
463 | void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, | 463 | void 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 |
59 | void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); | 59 | void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); |
60 | s32 rtl8188eu_init_recv_priv(struct adapter *padapter); | 60 | s32 rtl8188eu_init_recv_priv(struct adapter *padapter); |
61 | void rtl8188eu_free_recv_priv(struct adapter * padapter); | 61 | void rtl8188eu_free_recv_priv(struct adapter *padapter); |
62 | void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf); | 62 | void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf); |
63 | void rtl8188eu_recv_tasklet(void *priv); | 63 | void rtl8188eu_recv_tasklet(void *priv); |
64 | void rtl8188e_query_rx_phy_status(union recv_frame *fr, struct phy_stat *phy); | 64 | void rtl8188e_query_rx_phy_status(union recv_frame *fr, struct phy_stat *phy); |
65 | void rtl8188e_process_phy_info(struct adapter * padapter, void *prframe); | 65 | void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe); |
66 | void update_recvframe_phyinfo_88e(union recv_frame *fra, struct phy_stat *phy); | 66 | void update_recvframe_phyinfo_88e(union recv_frame *fra, struct phy_stat *phy); |
67 | void update_recvframe_attrib_88e(union recv_frame *fra, struct recv_stat *stat); | 67 | void 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]; | |||
28 | u8 rtw_set_802_11_add_key(struct adapter *adapt, struct ndis_802_11_key *key); | 28 | u8 rtw_set_802_11_add_key(struct adapter *adapt, struct ndis_802_11_key *key); |
29 | u8 rtw_set_802_11_authentication_mode(struct adapter *adapt, | 29 | u8 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); |
31 | u8 rtw_set_802_11_bssid(struct adapter*adapter, u8 *bssid); | 31 | u8 rtw_set_802_11_bssid(struct adapter *adapter, u8 *bssid); |
32 | u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep); | 32 | u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep); |
33 | u8 rtw_set_802_11_disassociate(struct adapter *adapter); | 33 | u8 rtw_set_802_11_disassociate(struct adapter *adapter); |
34 | u8 rtw_set_802_11_bssid_list_scan(struct adapter*adapter, | 34 | u8 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); |
37 | u8 rtw_set_802_11_infrastructure_mode(struct adapter *adapter, | 37 | u8 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{ | |||
182 | void BlinkTimerCallback(void *data); | 182 | void BlinkTimerCallback(void *data); |
183 | void BlinkWorkItemCallback(struct work_struct *work); | 183 | void BlinkWorkItemCallback(struct work_struct *work); |
184 | 184 | ||
185 | void ResetLedStatus(struct LED_871x * pLed); | 185 | void ResetLedStatus(struct LED_871x *pLed); |
186 | 186 | ||
187 | void InitLed871x(struct adapter *padapter, struct LED_871x *pLed, | 187 | void 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, | |||
190 | void DeInitLed871x(struct LED_871x *pLed); | 190 | void DeInitLed871x(struct LED_871x *pLed); |
191 | 191 | ||
192 | /* hal... */ | 192 | /* hal... */ |
193 | void BlinkHandler(struct LED_871x * pLed); | 193 | void BlinkHandler(struct LED_871x *pLed); |
194 | void SwLedOn(struct adapter *padapter, struct LED_871x *pLed); | 194 | void SwLedOn(struct adapter *padapter, struct LED_871x *pLed); |
195 | void SwLedOff(struct adapter *padapter, struct LED_871x *pLed); | 195 | void 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 | ||
617 | struct wlan_network* _rtw_find_network(struct __queue *scanned_queue, u8 *addr); | 617 | struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *addr); |
618 | 618 | ||
619 | void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall); | 619 | void _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 | ||
242 | struct action_handler { | 242 | struct 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); | |||
484 | void clear_cam_entry(struct adapter *padapter, u8 entry); | 484 | void clear_cam_entry(struct adapter *padapter, u8 entry); |
485 | 485 | ||
486 | void invalidate_cam_all(struct adapter *padapter); | 486 | void invalidate_cam_all(struct adapter *padapter); |
487 | void CAM_empty_entry(struct adapter * Adapter, u8 ucIndex); | 487 | void CAM_empty_entry(struct adapter *Adapter, u8 ucIndex); |
488 | 488 | ||
489 | int allocate_fw_sta_entry(struct adapter *padapter); | 489 | int allocate_fw_sta_entry(struct adapter *padapter); |
490 | void flush_all_cam_entry(struct adapter *padapter); | 490 | void flush_all_cam_entry(struct adapter *padapter); |
@@ -548,11 +548,11 @@ void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame | |||
548 | void report_surveydone_event(struct adapter *padapter); | 548 | void report_surveydone_event(struct adapter *padapter); |
549 | void report_del_sta_event(struct adapter *padapter, | 549 | void report_del_sta_event(struct adapter *padapter, |
550 | unsigned char *addr, unsigned short reason); | 550 | unsigned char *addr, unsigned short reason); |
551 | void report_add_sta_event(struct adapter *padapter, unsigned char* addr, | 551 | void report_add_sta_event(struct adapter *padapter, unsigned char *addr, |
552 | int cam_idx); | 552 | int cam_idx); |
553 | 553 | ||
554 | void beacon_timing_control(struct adapter *padapter); | 554 | void beacon_timing_control(struct adapter *padapter); |
555 | extern u8 set_tx_beacon_cmd(struct adapter*padapter); | 555 | extern u8 set_tx_beacon_cmd(struct adapter *padapter); |
556 | unsigned int setup_beacon_frame(struct adapter *padapter, | 556 | unsigned int setup_beacon_frame(struct adapter *padapter, |
557 | unsigned char *beacon_frame); | 557 | unsigned char *beacon_frame); |
558 | void update_mgnt_tx_rate(struct adapter *padapter, u8 rate); | 558 | void 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); |
575 | void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr, | 575 | void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr, |
576 | u8 dialogToken, u8 success); | 576 | u8 dialogToken, u8 success); |
577 | void issue_p2p_invitation_request(struct adapter *padapter, u8* raddr); | 577 | void issue_p2p_invitation_request(struct adapter *padapter, u8 *raddr); |
578 | #endif /* CONFIG_88EU_P2P */ | 578 | #endif /* CONFIG_88EU_P2P */ |
579 | void issue_beacon(struct adapter *padapter, int timeout_ms); | 579 | void issue_beacon(struct adapter *padapter, int timeout_ms); |
580 | void issue_probersp(struct adapter *padapter, unsigned char *da, | 580 | void issue_probersp(struct adapter *padapter, unsigned char *da, |
@@ -587,7 +587,7 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta, | |||
587 | void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, | 587 | void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, |
588 | u8 *da); | 588 | u8 *da); |
589 | s32 issue_probereq_ex(struct adapter *adapter, struct ndis_802_11_ssid *pssid, | 589 | s32 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); |
591 | int issue_nulldata(struct adapter *padapter, unsigned char *da, | 591 | int 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); |
593 | int issue_qos_nulldata(struct adapter *padapter, unsigned char *da, | 593 | int 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); | |||
477 | void Hal_SetAntennaPathPower(struct adapter *pAdapter); | 477 | void Hal_SetAntennaPathPower(struct adapter *pAdapter); |
478 | s32 Hal_SetThermalMeter(struct adapter *pAdapter, u8 target_ther); | 478 | s32 Hal_SetThermalMeter(struct adapter *pAdapter, u8 target_ther); |
479 | s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable); | 479 | s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable); |
480 | void Hal_GetPowerTracking(struct adapter *padapter, u8 * enable); | 480 | void Hal_GetPowerTracking(struct adapter *padapter, u8 *enable); |
481 | void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value); | 481 | void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value); |
482 | void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter); | 482 | void Hal_mpt_SwitchRfSetting(struct adapter *pAdapter); |
483 | void Hal_MPT_CCKTxPowerAdjust(struct adapter * Adapter, bool bInCH14); | 483 | void Hal_MPT_CCKTxPowerAdjust(struct adapter *Adapter, bool bInCH14); |
484 | void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven); | 484 | void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven); |
485 | void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 * TxPower); | 485 | void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 *TxPower); |
486 | void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 * TxPower); | 486 | void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 *TxPower); |
487 | void Hal_TriggerRFThermalMeter(struct adapter *pAdapter); | 487 | void Hal_TriggerRFThermalMeter(struct adapter *pAdapter); |
488 | u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter); | 488 | u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter); |
489 | void Hal_SetCCKContinuousTx(struct adapter *pAdapter, u8 bStart); | 489 | void 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 | ||
279 | struct mp_ioctl_handler { | 279 | struct 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 | ||