Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tim Jester-Pfadt and committed by
Greg Kroah-Hartman
c7333c11 3f35c7ff

+20 -20
+1 -1
drivers/staging/rtl8188eu/include/rtl8188e_hal.h
··· 458 458 bool AutoLoadFail); 459 459 void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, 460 460 bool AutoLoadFail); 461 - void Hal_ReadThermalMeter_88E(struct adapter * dapter, u8 *PROMContent, 461 + void Hal_ReadThermalMeter_88E(struct adapter *dapter, u8 *PROMContent, 462 462 bool AutoloadFail); 463 463 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, 464 464 bool AutoLoadFail);
+3 -3
drivers/staging/rtl8188eu/include/rtl8188e_recv.h
··· 58 58 #define INTERRUPT_MSG_FORMAT_LEN 60 59 59 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); 60 60 s32 rtl8188eu_init_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); 61 + void rtl8188eu_free_recv_priv(struct adapter *padapter); 62 + void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf); 63 63 void rtl8188eu_recv_tasklet(void *priv); 64 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 66 void update_recvframe_phyinfo_88e(union recv_frame *fra, struct phy_stat *phy); 67 67 void update_recvframe_attrib_88e(union recv_frame *fra, struct recv_stat *stat); 68 68
+2 -2
drivers/staging/rtl8188eu/include/rtw_ioctl_set.h
··· 28 28 u8 rtw_set_802_11_add_key(struct adapter *adapt, struct ndis_802_11_key *key); 29 29 u8 rtw_set_802_11_authentication_mode(struct adapter *adapt, 30 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 32 u8 rtw_set_802_11_add_wep(struct adapter *adapter, struct ndis_802_11_wep *wep); 33 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 35 struct ndis_802_11_ssid *pssid, 36 36 int ssid_max_num); 37 37 u8 rtw_set_802_11_infrastructure_mode(struct adapter *adapter,
+2 -2
drivers/staging/rtl8188eu/include/rtw_led.h
··· 182 182 void BlinkTimerCallback(void *data); 183 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 187 void InitLed871x(struct adapter *padapter, struct LED_871x *pLed, 188 188 enum LED_PIN_871x LedPin); ··· 190 190 void DeInitLed871x(struct LED_871x *pLed); 191 191 192 192 /* hal... */ 193 - void BlinkHandler(struct LED_871x * pLed); 193 + void BlinkHandler(struct LED_871x *pLed); 194 194 void SwLedOn(struct adapter *padapter, struct LED_871x *pLed); 195 195 void SwLedOff(struct adapter *padapter, struct LED_871x *pLed); 196 196
+1 -1
drivers/staging/rtl8188eu/include/rtw_mlme.h
··· 614 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 619 void _rtw_free_network_queue(struct adapter *padapter, u8 isfreeall); 620 620
+6 -6
drivers/staging/rtl8188eu/include/rtw_mlme_ext.h
··· 241 241 242 242 struct action_handler { 243 243 unsigned int num; 244 - char* str; 244 + char *str; 245 245 unsigned int (*func)(struct adapter *adapt, union recv_frame *frame); 246 246 }; 247 247 ··· 484 484 void clear_cam_entry(struct adapter *padapter, u8 entry); 485 485 486 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 489 int allocate_fw_sta_entry(struct adapter *padapter); 490 490 void flush_all_cam_entry(struct adapter *padapter); ··· 548 548 void report_surveydone_event(struct adapter *padapter); 549 549 void report_del_sta_event(struct adapter *padapter, 550 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 552 int cam_idx); 553 553 554 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 556 unsigned int setup_beacon_frame(struct adapter *padapter, 557 557 unsigned char *beacon_frame); 558 558 void update_mgnt_tx_rate(struct adapter *padapter, u8 rate); ··· 574 574 int wait_ms); 575 575 void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr, 576 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 578 #endif /* CONFIG_88EU_P2P */ 579 579 void issue_beacon(struct adapter *padapter, int timeout_ms); 580 580 void issue_probersp(struct adapter *padapter, unsigned char *da, ··· 587 587 void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, 588 588 u8 *da); 589 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 591 int issue_nulldata(struct adapter *padapter, unsigned char *da, 592 592 unsigned int power_mode, int try_cnt, int wait_ms); 593 593 int issue_qos_nulldata(struct adapter *padapter, unsigned char *da,
+4 -4
drivers/staging/rtl8188eu/include/rtw_mp.h
··· 477 477 void Hal_SetAntennaPathPower(struct adapter *pAdapter); 478 478 s32 Hal_SetThermalMeter(struct adapter *pAdapter, u8 target_ther); 479 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 481 void Hal_GetThermalMeter(struct adapter *pAdapter, u8 *value); 482 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 484 void Hal_MPT_CCKTxPowerAdjustbyIndex(struct adapter *pAdapter, bool beven); 485 - void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 * TxPower); 486 - void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 * TxPower); 485 + void Hal_SetCCKTxPower(struct adapter *pAdapter, u8 *TxPower); 486 + void Hal_SetOFDMTxPower(struct adapter *pAdapter, u8 *TxPower); 487 487 void Hal_TriggerRFThermalMeter(struct adapter *pAdapter); 488 488 u8 Hal_ReadRFThermalMeter(struct adapter *pAdapter); 489 489 void Hal_SetCCKContinuousTx(struct adapter *pAdapter, u8 bStart);
+1 -1
drivers/staging/rtl8188eu/include/rtw_mp_ioctl.h
··· 278 278 279 279 struct mp_ioctl_handler { 280 280 u32 paramsize; 281 - s32 (*handler)(struct oid_par_priv* poid_par_priv); 281 + s32 (*handler)(struct oid_par_priv *poid_par_priv); 282 282 u32 oid; 283 283 }; 284 284