Skip to content

Commit 95815c0

Browse files
Marco Cesatigregkh
authored andcommitted
Staging: rtl8723bs: fix spaces in rtw_mlme_ext.h
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#307: FILE: ./include/rtw_mlme_ext.h:307: + char* str; ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#313: FILE: ./include/rtw_mlme_ext.h:313: + char* str; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#592: FILE: ./include/rtw_mlme_ext.h:592: +int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#595: FILE: ./include/rtw_mlme_ext.h:595: +void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#596: FILE: ./include/rtw_mlme_ext.h:596: +void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#599: FILE: ./include/rtw_mlme_ext.h:599: +void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#606: FILE: ./include/rtw_mlme_ext.h:606: +void update_capinfo(struct adapter * Adapter, u16 updateCap); ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#633: FILE: ./include/rtw_mlme_ext.h:633: +void report_del_sta_event(struct adapter *padapter, unsigned char* MacAddr, unsigned short reason); ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#634: FILE: ./include/rtw_mlme_ext.h:634: +void report_add_sta_event(struct adapter *padapter, unsigned char* MacAddr, int cam_idx); Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Marco Cesati <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ac16f60 commit 95815c0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/staging/rtl8723bs/include/rtw_mlme_ext.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,13 @@ enum SCAN_STATE {
304304

305305
struct mlme_handler {
306306
unsigned int num;
307-
char* str;
307+
char *str;
308308
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
309309
};
310310

311311
struct action_handler {
312312
unsigned int num;
313-
char* str;
313+
char *str;
314314
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
315315
};
316316

@@ -589,21 +589,21 @@ int is_IBSS_empty(struct adapter *padapter);
589589

590590
unsigned char check_assoc_AP(u8 *pframe, uint len);
591591

592-
int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
592+
int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
593593
void WMMOnAssocRsp(struct adapter *padapter);
594594

595-
void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
596-
void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
595+
void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
596+
void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
597597
void HTOnAssocRsp(struct adapter *padapter);
598598

599-
void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
599+
void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
600600
void VCS_update(struct adapter *padapter, struct sta_info *psta);
601601
void update_ldpc_stbc_cap(struct sta_info *psta);
602602

603603
void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
604604
int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len);
605605
void update_IOT_info(struct adapter *padapter);
606-
void update_capinfo(struct adapter * Adapter, u16 updateCap);
606+
void update_capinfo(struct adapter *Adapter, u16 updateCap);
607607
void update_wireless_mode(struct adapter *padapter);
608608
void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode);
609609
int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, uint var_ie_len, int cam_idx);
@@ -630,8 +630,8 @@ extern u8 rtw_search_max_mac_id(struct adapter *padapter);
630630
void report_join_res(struct adapter *padapter, int res);
631631
void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame);
632632
void report_surveydone_event(struct adapter *padapter);
633-
void report_del_sta_event(struct adapter *padapter, unsigned char* MacAddr, unsigned short reason);
634-
void report_add_sta_event(struct adapter *padapter, unsigned char* MacAddr, int cam_idx);
633+
void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason);
634+
void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx);
635635
void report_wmm_edca_update(struct adapter *padapter);
636636

637637
u8 chk_bmc_sleepq_cmd(struct adapter *padapter);

0 commit comments

Comments
 (0)