staging: rtl8723bs: Add spaces around '=', '|', '<<'
PATCH 1/1 staging: rtl8723bs: Add spaces around '=', '|', '<<'
Use one space around most binary operators
--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
drivers/staging/rtl8723bs/os_dep/os_intfs.c +13 -13
@@ -121,7 +121,7 @@static int rtw_enusbss =0 ;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ +static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ #ifdef CONFIG_HW_PWRP_DETECTION static int rtw_hwpwrp_detect =1 ;
@@ -183,7 +183,7 @@module_param (rtw_hw_wps_pbc, int,0644 ); -static uint rtw_max_roaming_times =2 ; +static uint rtw_max_roaming_times =2 ;module_param (rtw_max_roaming_times, uint,0644 );MODULE_PARM_DESC (rtw_max_roaming_times,"The max roaming times to try" );
@@ -222,7 +222,7 @@/* BIT4 - RF, 0: non-support, 1: support */ /* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ -static int rtw_load_phy_file = (BIT2 |BIT6 ); +static int rtw_load_phy_file = (BIT2 |BIT6 );module_param (rtw_load_phy_file, int,0644 );MODULE_PARM_DESC (rtw_load_phy_file,"PHY File Bit Map" );static int rtw_decrypt_phy_file =0 ;
@@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->vrtl_carrier_sense = (u8 )rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8 )rtw_vcs_type; - registry_par->rts_thresh =(u16 )rtw_rts_thresh; - registry_par->frag_thresh =(u16 )rtw_frag_thresh; + registry_par->rts_thresh = (u16 )rtw_rts_thresh; + registry_par->frag_thresh = (u16 )rtw_frag_thresh; registry_par->preamble = (u8 )rtw_preamble; registry_par->scan_mode = (u8 )rtw_scan_mode; registry_par->adhoc_tx_pwr = (u8 )rtw_adhoc_tx_pwr;
@@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)u32 priority;u8 *pdata = skb->data; -memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 ); +memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 );switch (be16_to_cpu (eth_type)) {case ETH_P_IP :
@@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter *padapter)#ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL;#endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open;/* open system */ psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
@@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount =0 ; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount =0 ; -_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); +_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts =0 ;
@@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter;if ((rtw_init_evt_priv (&padapter->evtpriv)) == _FAIL) {RT_TRACE (_module_os_intfs_c_, _drv_err_, ("\n Can't init evt_priv\n" ));
@@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev)DBG_871X ("MAC Address = " MAC_FMT "\n" ,MAC_ARG (pnetdev->dev_addr)); - status =rtw_start_drv_threads (padapter); + status =rtw_start_drv_threads (padapter);if (status == _FAIL) {DBG_871X ("Initialize driver software resource Failed!\n" ); goto netdev_open_error;
@@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter *padapter) }/* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE ; + poidparam.subcode =WOWLAN_DISABLE ; padapter->HalFunc.SetHwRegHandler (padapter,HW_VAR_WOWLAN , (u8 *)&poidparam); psta =rtw_get_stainfo (&padapter->stapriv,get_bssid (&padapter->mlmepriv));
@@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter *padapter)DBG_871X_LEVEL (_drv_always_,"do not reset timer\n" ); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false;/* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason =0 ;
Signature · 1 line
1.9.1
Quoted 50 lines · Harsha Sharma
Use one space around most binary operators
Signed-off-by Harsha Sharma <[email protected]>--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)drivers/staging/rtl8723bs/os_dep/os_intfs.c +5
-5@@ -121,7 +121,7 @@static int rtw_enusbss =0 ;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ +static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ #ifdef CONFIG_HW_PWRP_DETECTION static int rtw_hwpwrp_detect =1 ;@@ -183,7 +183,7 @@module_param (rtw_hw_wps_pbc, int,0644 ); -static uint rtw_max_roaming_times =2 ; +static uint rtw_max_roaming_times =2 ;module_param (rtw_max_roaming_times, uint,0644 );MODULE_PARM_DESC (rtw_max_roaming_times,"The max roaming times to try" );@@ -222,7 +222,7 @@/* BIT4 - RF, 0: non-support, 1: support */ /* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ -static int rtw_load_phy_file = (BIT2 |BIT6 ); +static int rtw_load_phy_file = (BIT2 |BIT6 );module_param (rtw_load_phy_file, int,0644 );MODULE_PARM_DESC (rtw_load_phy_file,"PHY File Bit Map" );static int rtw_decrypt_phy_file =0 ;@@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->vrtl_carrier_sense = (u8 )rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8 )rtw_vcs_type; - registry_par->rts_thresh =(u16 )rtw_rts_thresh; - registry_par->frag_thresh =(u16 )rtw_frag_thresh; + registry_par->rts_thresh = (u16 )rtw_rts_thresh; + registry_par->frag_thresh = (u16 )rtw_frag_thresh; registry_par->preamble = (u8 )rtw_preamble; registry_par->scan_mode = (u8 )rtw_scan_mode; registry_par->adhoc_tx_pwr = (u8 )rtw_adhoc_tx_pwr;
drivers/staging/rtl8723bs/os_dep/os_intfs.c u16 rtw_recv_select_queue(struct sk_buff *skb) · line 443
Quoted 5 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)u32 priority;u8 *pdata = skb->data; -memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 ); +memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 );
The + should have space around it also.
julia
Quoted 69 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +7
-8switch (be16_to_cpu (eth_type)) {case ETH_P_IP :@@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter *padapter)#ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL;#endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open;/* open system */ psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;@@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount =0 ; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount =0 ; -_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); +_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts =0 ;@@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter;if ((rtw_init_evt_priv (&padapter->evtpriv)) == _FAIL) {RT_TRACE (_module_os_intfs_c_, _drv_err_, ("\n Can't init evt_priv\n" ));@@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev)DBG_871X ("MAC Address = " MAC_FMT "\n" ,MAC_ARG (pnetdev->dev_addr)); - status =rtw_start_drv_threads (padapter); + status =rtw_start_drv_threads (padapter);if (status == _FAIL) {DBG_871X ("Initialize driver software resource Failed!\n" ); goto netdev_open_error;@@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter *padapter) }/* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE ; + poidparam.subcode =WOWLAN_DISABLE ; padapter->HalFunc.SetHwRegHandler (padapter,HW_VAR_WOWLAN , (u8 *)&poidparam); psta =rtw_get_stainfo (&padapter->stapriv,get_bssid (&padapter->mlmepriv));@@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter *padapter)DBG_871X_LEVEL (_drv_always_,"do not reset timer\n" ); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false;/* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason =0 ; --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1504981213-14584-1-git-send-email-harshasharmaiitr%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
Thanks for your feedback.
I checked patch with checkpatch.pl and thought will add spaces around '+' in another patch as there are no. of such warnings.
Should I add them in this patch only or send another patch for it?
Regards,
Harsha Sharma
Quoted 153 lines · Julia Lawall
Quoted 5 lines · Harsha Sharma
Use one space around most binary operators
Signed-off-by Harsha Sharma <[email protected]>--- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26+++++++++++++-------------
Review
Quoted 3 lines
1 file changed, 13 insertions(+), 13 deletions(-)(quoted diff) +0
-0
b/drivers/staging/rtl8723bs/os_dep/os_intfs.cdrivers/staging/rtl8723bs/os_dep/os_intfs.c line 124
Quoted 8 lines
index 0215899..0129381 100644
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-1@@ -121,7 +121,7 @@static int rtw_enusbss =0 ;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */
drivers/staging/rtl8723bs/os_dep/os_intfs.c line 124
Quoted 1 line
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-0+static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */
Quoted 13 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1#ifdef CONFIG_HW_PWRP_DETECTION static int rtw_hwpwrp_detect =1 ;@@ -183,7 +183,7 @@module_param (rtw_hw_wps_pbc, int,0644 ); -static uint rtw_max_roaming_times =2 ; +static uint rtw_max_roaming_times =2 ;module_param (rtw_max_roaming_times, uint,0644 );MODULE_PARM_DESC (rtw_max_roaming_times,"The max roaming times to try" );drivers/staging/rtl8723bs/os_dep/os_intfs.c line 222
Quoted 1 line
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0@@ -222,7 +222,7 @@/* BIT4 - RF, 0: non-support, 1: support */
drivers/staging/rtl8723bs/os_dep/os_intfs.c static uint loadparam(struct adapter *padapter,
Quoted 8 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1/* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ -static int rtw_load_phy_file = (BIT2 |BIT6 ); +static int rtw_load_phy_file = (BIT2 |BIT6 );module_param (rtw_load_phy_file, int,0644 );MODULE_PARM_DESC (rtw_load_phy_file,"PHY File Bit Map" );static int rtw_decrypt_phy_file =0 ;@@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter,
_nic_hdlpnetdev)Quoted 11 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +2
-2registry_par->vrtl_carrier_sense = (u8 )rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8 )rtw_vcs_type; - registry_par->rts_thresh =(u16 )rtw_rts_thresh; - registry_par->frag_thresh =(u16 )rtw_frag_thresh; + registry_par->rts_thresh = (u16 )rtw_rts_thresh; + registry_par->frag_thresh = (u16 )rtw_frag_thresh; registry_par->preamble = (u8 )rtw_preamble; registry_par->scan_mode = (u8 )rtw_scan_mode; registry_par->adhoc_tx_pwr = (u8 )rtw_adhoc_tx_pwr;drivers/staging/rtl8723bs/os_dep/os_intfs.c u16 rtw_recv_select_queue(struct sk_buff *skb) · line 443
Quoted 5 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)u32 priority;u8 *pdata = skb->data; -memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 ); +memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 );The + should have space around it also.
julia
drivers/staging/rtl8723bs/os_dep/os_intfs.c static u8 rtw_init_default_value(struct adapter
Quoted 4 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0switch (be16_to_cpu (eth_type)) {case ETH_P_IP :@@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter*padapter)
drivers/staging/rtl8723bs/os_dep/os_intfs.c static u8 rtw_init_default_value(struct adapter *padapter)
Quoted 9 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +2
-2#ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL;#endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open;/* open system */
Quoted 11 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;@@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount =0 ; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount =0 ; -_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); +_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts =0 ;drivers/staging/rtl8723bs/os_dep/os_intfs.c u8 rtw_init_drv_sw(struct adapter *padapter) · line 783
Quoted 8 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter;if ((rtw_init_evt_priv (&padapter->evtpriv)) == _FAIL) { RT_TRACE(_module_os_intfs_c_, _drv_err_, ("\n Can't initevt_priv\n"));
drivers/staging/rtl8723bs/os_dep/os_intfs.c int _netdev_open(struct net_device *pnetdev) · line 987
Quoted 3 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0@@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev) DBG_871X("MAC Address = "MAC_FMT"\n",
MAC_ARG(pnetdev->dev_addr));drivers/staging/rtl8723bs/os_dep/os_intfs.c int _netdev_open(struct net_device *pnetdev)
Quoted 5 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1- status =rtw_start_drv_threads (padapter); + status =rtw_start_drv_threads (padapter);if (status == _FAIL) { DBG_871X("Initialize driver software resourceFailed!\n");
drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter
Quoted 2 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0goto netdev_open_error;@@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter*padapter)
drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter *padapter)
Quoted 6 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1}/* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE ; + poidparam.subcode =WOWLAN_DISABLE ; padapter->HalFunc.SetHwRegHandler(padapter,
HW_VAR_WOWLAN, (u8 *)&poidparam);drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter · line 1646
Quoted 2 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0psta = rtw_get_stainfo(&padapter->stapriv,
get_bssid(&padapter->mlmepriv));drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter
Quoted 1 line
drivers/staging/rtl8723bs/os_dep/os_intfs.c +0
-0@@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter*padapter)
Quoted 11 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-2DBG_871X_LEVEL (_drv_always_,"do not reset timer\n" ); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false;/* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason =0 ; --1.9.1
Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/
msgid/outreachy-kernel/1504981213-14584-1-git-send-email-harshasharmaiitr% 40gmail.com.
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
Quoted 4 lines · Harsha Sharma
Hi,Thanks for your feedback.
I checked patch with checkpatch.pl and thought will add spaces around '+' in another patch as there are no. of such warnings.
Should I add them in this patch only or send another patch for it?
Indeed, I only looked at the commit log, which referred to "most binary operators". Actually, I'm not sure that = is considered to be a binary operator. If you want to cut things up, perhaps you could do =, and then do the actual binary operators.
But since they are going to be touching scattered places in the same file, the patches should be in a series.
julia
Quoted 167 lines
Regards,
Harsha SharmaOn Sat, Sep 9, 2017 at 11:56 PM, Julia Lawall <[email protected]> wrote:
On Sat, 9 Sep 2017, Harsha Sharma wrote: > Use one space around most binary operators > > Signed-off-by: Harsha Sharma <[email protected]> > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c > index 0215899..0129381 100644 > --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c > +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c > @@ -121,7 +121,7 @@ > > static int rtw_enusbss = 0;/* 0:disable, 1:enable */ > > -static int rtw_hwpdn_mode =2;/* 0:disable, 1:enable, 2: by EFUSE config */ > +static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */ > > #ifdef CONFIG_HW_PWRP_DETECTION > static int rtw_hwpwrp_detect = 1; > @@ -183,7 +183,7 @@ > > module_param(rtw_hw_wps_pbc, int, 0644); > > -static uint rtw_max_roaming_times =2; > +static uint rtw_max_roaming_times = 2; > module_param(rtw_max_roaming_times, uint, 0644); > MODULE_PARM_DESC(rtw_max_roaming_times,"The max roaming times to try"); > > @@ -222,7 +222,7 @@ > /* BIT4 - RF, 0: non-support, 1: support */ > /* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ > /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ > -static int rtw_load_phy_file = (BIT2|BIT6); > +static int rtw_load_phy_file = (BIT2 | BIT6); > module_param(rtw_load_phy_file, int, 0644); > MODULE_PARM_DESC(rtw_load_phy_file,"PHY File Bit Map"); > static int rtw_decrypt_phy_file = 0; > @@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) > > registry_par->vrtl_carrier_sense = (u8)rtw_vrtl_carrier_sense ; > registry_par->vcs_type = (u8)rtw_vcs_type; > - registry_par->rts_thresh =(u16)rtw_rts_thresh; > - registry_par->frag_thresh =(u16)rtw_frag_thresh; > + registry_par->rts_thresh = (u16)rtw_rts_thresh; > + registry_par->frag_thresh = (u16)rtw_frag_thresh; > registry_par->preamble = (u8)rtw_preamble; > registry_par->scan_mode = (u8)rtw_scan_mode; > registry_par->adhoc_tx_pwr = (u8)rtw_adhoc_tx_pwr; > @@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb) > u32 priority; > u8 *pdata = skb->data; > > - memcpy(ð_type, pdata+(ETH_ALEN<<1), 2); > + memcpy(ð_type, pdata+(ETH_ALEN << 1), 2);The + should have space around it also.
julia
Review static u8 rtw_init_default_value(struct adapter
Quoted 4 lines
switch (
be16_to_cpu(eth_type)) {
caseETH_P_IP:(quoted diff) +0
-0@@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter*padapter)
Quoted 9 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +2
-2#ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL; #endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt;psecuritypriv->dot11AuthAlgrthm =
dot11AuthAlgrthm_Open; /*open system */
drivers/staging/rtl8723bs/os_dep/os_intfs.c u8 rtw_reset_drv_sw(struct adapter *padapter) · line 751
Quoted 7 lines
psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; - _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); + _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY |
_FW_UNDER_LINKING);Quoted 11 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1pwrctrlpriv->pwr_state_check_cnts = 0;@@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter; if ((rtw_init_evt_priv(&padapter->evtpriv)) == _FAIL) {Quoted 1 line
RT_TRACE(_module_os_intfs_c_, _drv_err_, ("\n Can't
init evt_priv\n"));
Review int _netdev_open(struct net_device *pnetdev) · line 987
Quoted 3 lines
(quoted diff) +0
-0@@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev) DBG_871X("MAC Address = "MAC_FMT"\n",
MAC_ARG(pnetdev->dev_addr));Quoted 5 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1- status =rtw_start_drv_threads(padapter); + status = rtw_start_drv_threads(padapter); if (status == _FAIL) {DBG_871X("Initialize driver software resource
Failed!\n");
Review int rtw_resume_process_wow(struct adapter
Quoted 2 lines
goto
netdev_open_error;(quoted diff) +0
-0@@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter*padapter)
drivers/staging/rtl8723bs/os_dep/os_intfs.c int rtw_resume_process_wow(struct adapter *padapter)
Quoted 6 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1} /* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE; + poidparam.subcode = WOWLAN_DISABLE; padapter->HalFunc.SetHwRegHandler(padapter,
HW_VAR_WOWLAN, (u8 *)&poidparam);Review int rtw_resume_process_wow(struct adapter · line 1646
Quoted 2 lines
(quoted diff) +0
-0psta = rtw_get_stainfo(&padapter->stapriv,
get_bssid(&padapter->mlmepriv));Review int rtw_resume_process_wow(struct adapter
Quoted 1 line
(quoted diff) +0
-0@@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter*padapter)
Quoted 11 lines
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-2DBG_871X_LEVEL(_drv_always_, "do not reset timer\n"); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false; /* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason = 0; --1.9.1
Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
Quoted 1 line
To post to this group, send email to
Quoted 1 line
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/1504981213-14584-1-git-s
end-email-harshasharmaiitr%40gmail.com.
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
Quoted 130 lines · Harsha Sharma
Use one space around most binary operators
Signed-off-by Harsha Sharma <[email protected]>---
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -121,7 +121,7 @@static int rtw_enusbss = 0;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ +static int rtw_hwpdn_mode =2 ;/* 0:disable, 1:enable, 2: by EFUSE config */ #ifdef
CONFIG_HW_PWRP_DETECTION
static intrtw_hwpwrp_detect= 1;drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -183,7 +183,7 @@module_param (rtw_hw_wps_pbc, int,0644 ); -static uint rtw_max_roaming_times =2 ; +static uint rtw_max_roaming_times =2 ;module_param (rtw_max_roaming_times, uint,0644 );MODULE_PARM_DESC (rtw_max_roaming_times,"The max roaming times to try" );@@ -222,7 +222,7 @@/* BIT4 - RF, 0: non-support, 1: support */
/* BIT5 -RF_TXPWR_TRACK, 0: non-support, 1: support */
/* BIT6 -RF_TXPWR_LMT, 0: non-support, 1: support */drivers/staging/rtl8723bs/os_dep/os_intfs.c +3
-3-static int rtw_load_phy_file = (BIT2 |BIT6 ); +static int rtw_load_phy_file = (BIT2 |BIT6 );module_param (rtw_load_phy_file, int,0644 );MODULE_PARM_DESC (rtw_load_phy_file,"PHY File Bit Map" );static int rtw_decrypt_phy_file =0 ;@@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->vrtl_carrier_sense = (u8)rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8 )rtw_vcs_type; - registry_par->rts_thresh =(u16 )rtw_rts_thresh; - registry_par->frag_thresh =(u16 )rtw_frag_thresh; + registry_par->rts_thresh = (u16 )rtw_rts_thresh; + registry_par->frag_thresh = (u16 )rtw_frag_thresh; registry_par->preamble = (u8 )rtw_preamble; registry_par->scan_mode = (u8 )rtw_scan_mode;registry_par->adhoc_tx_pwr = (u8)rtw_adhoc_tx_pwr;drivers/staging/rtl8723bs/os_dep/os_intfs.c +3
-3@@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb)u32 priority;u8 *pdata = skb->data; -memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 ); +memcpy (ð_type, pdata+(ETH_ALEN <<1 ),2 );switch (be16_to_cpu (eth_type)) {case ETH_P_IP :@@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter *padapter)#ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL;#endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open;/* open system */
psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_;drivers/staging/rtl8723bs/os_dep/os_intfs.c +2
-2@@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount =0 ; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount =0 ; -_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); +_clr_fwstate_ (pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts =0 ;@@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter;if ((rtw_init_evt_priv (&padapter->evtpriv)) == _FAIL) { RT_TRACE(_module_os_intfs_c_, _drv_err_, ("\n Can't initevt_priv\n"));
drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev)DBG_871X ("MAC Address = " MAC_FMT "\n" ,MAC_ARG (pnetdev->dev_addr)); - status =rtw_start_drv_threads (padapter); + status =rtw_start_drv_threads (padapter);if (status == _FAIL) { DBG_871X("Initialize driver software resourceFailed!\n"); goto netdev_open_error;drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter *padapter) }/* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE ; + poidparam.subcode =WOWLAN_DISABLE ; padapter->HalFunc.SetHwRegHandler (padapter,HW_VAR_WOWLAN , (u8 *)&poidparam);psta = rtw_get_stainfo(&padapter->stapriv,
get_bssid(&padapter->mlmepriv));drivers/staging/rtl8723bs/os_dep/os_intfs.c +1
-1@@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter *padapter)DBG_871X_LEVEL (_drv_always_,"do not reset timer\n" ); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false;/* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason =0 ;Signature · 1 line
1.9.1
Hi,
I am trying to send patchset for this file with 10 commits but unable to send it. I am following this https://kernelnewbies.org/Outreachyfirstpatch
and with this command "git format-patch -o /tmp/ --cover-letter -n --thread=shallow --cc="[email protected]" 7b2a57c^..f46968c" no matches found: 7b2a57c^..f46968c.
But these commit ID's exist in "git log --pretty=oneline --abbrev-commit" . Can you please help ?
Thanks a lot.
Regards,
Harsha Sharma
Quoted 147 lines · Harsha Sharma
On Saturday, September 9, 2017 at 11:52:22 PM UTC+5:30, Harsha Sharma wrote:
Use one space around most binary operators Signed-off-by: Harsha Sharma <[email protected]> --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 0215899..0129381 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -121,7 +121,7 @@ static int rtw_enusbss = 0;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2;/* 0:disable, 1:enable, 2: by EFUSE config */ +static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */ #ifdef CONFIG_HW_PWRP_DETECTION static int rtw_hwpwrp_detect = 1; @@ -183,7 +183,7 @@ module_param(rtw_hw_wps_pbc, int, 0644); -static uint rtw_max_roaming_times =2; +static uint rtw_max_roaming_times = 2; module_param(rtw_max_roaming_times, uint, 0644); MODULE_PARM_DESC(rtw_max_roaming_times,"The max roaming times to try"); @@ -222,7 +222,7 @@ /* BIT4 - RF, 0: non-support, 1: support */ /* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ -static int rtw_load_phy_file = (BIT2|BIT6); +static int rtw_load_phy_file = (BIT2 | BIT6); module_param(rtw_load_phy_file, int, 0644); MODULE_PARM_DESC(rtw_load_phy_file,"PHY File Bit Map"); static int rtw_decrypt_phy_file = 0; @@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->vrtl_carrier_sense = (u8)rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8)rtw_vcs_type; - registry_par->rts_thresh =(u16)rtw_rts_thresh; - registry_par->frag_thresh =(u16)rtw_frag_thresh; + registry_par->rts_thresh = (u16)rtw_rts_thresh; + registry_par->frag_thresh = (u16)rtw_frag_thresh; registry_par->preamble = (u8)rtw_preamble; registry_par->scan_mode = (u8)rtw_scan_mode; registry_par->adhoc_tx_pwr = (u8)rtw_adhoc_tx_pwr; @@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb) u32 priority; u8 *pdata = skb->data; - memcpy(ð_type, pdata+(ETH_ALEN<<1), 2); + memcpy(ð_type, pdata+(ETH_ALEN << 1), 2); switch (be16_to_cpu(eth_type)) { case ETH_P_IP: @@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter *padapter) #ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL; #endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; @@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; - _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); + _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts = 0; @@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter; if ((rtw_init_evt_priv(&padapter->evtpriv)) == _FAIL) { RT_TRACE(_module_os_intfs_c_, _drv_err_, ("\n Can't init evt_priv\n")); @@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev) DBG_871X("MAC Address = "MAC_FMT"\n", MAC_ARG(pnetdev->dev_addr)); - status =rtw_start_drv_threads(padapter); + status = rtw_start_drv_threads(padapter); if (status == _FAIL) { DBG_871X("Initialize driver software resource Failed!\n"); goto netdev_open_error; @@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter *padapter) } /* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE; + poidparam.subcode = WOWLAN_DISABLE; padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_WOWLAN, (u8 *)&poidparam); psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); @@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter *padapter) DBG_871X_LEVEL(_drv_always_, "do not reset timer\n"); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false; /* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason = 0; -- 1.9.1
Quoted 8 lines
Hi,
I am trying to send patchset for this file with 10 commits but unable to send it. I am following this https://kernelnewbies.org/Outreachyfirstpatch
and with this command "git format-patch -o/tmp/--cover-letter -n --thread=shallow --cc="[email protected]" 7b2a57c^..f46968c" no matches found: 7b2a57c^..f46968c.
But these commit ID's exist in "git log --pretty=oneline --abbrev-commit" . Can you please help ?
A similar command line works for me. Are you sure that
git log --pretty=oneline --abbrev-commit 7b2a57c^..f46968c
works? Just copy-paste it from the mail, don't retype anything.
julia
Quoted 17 lines
Thanks a lot.
Regards,
Harsha Sharma--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/78b23708-60d8-47dd-9bea- 94a1eb29bbeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 166 lines · Julia Lawall
Quoted 3 lines · Harsha Sharma
On Saturday, September 9, 2017 at 11:52:22 PM UTC+5:30, Harsha Sharma
Quoted 145 lines · wrote:
Use one space around most binary operators Signed-off-by: Harsha Sharma <[email protected] <javascript:>> --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 0215899..0129381 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -121,7 +121,7 @@ static int rtw_enusbss = 0;/* 0:disable, 1:enable */ -static int rtw_hwpdn_mode =2;/* 0:disable, 1:enable, 2: by EFUSE config */ +static int rtw_hwpdn_mode = 2;/* 0:disable, 1:enable, 2: by EFUSE config */ #ifdef CONFIG_HW_PWRP_DETECTION static int rtw_hwpwrp_detect = 1; @@ -183,7 +183,7 @@ module_param(rtw_hw_wps_pbc, int, 0644); -static uint rtw_max_roaming_times =2; +static uint rtw_max_roaming_times = 2; module_param(rtw_max_roaming_times, uint, 0644); MODULE_PARM_DESC(rtw_max_roaming_times,"The max roaming times to try"); @@ -222,7 +222,7 @@ /* BIT4 - RF, 0: non-support, 1: support */ /* BIT5 - RF_TXPWR_TRACK, 0: non-support, 1: support */ /* BIT6 - RF_TXPWR_LMT, 0: non-support, 1: support */ -static int rtw_load_phy_file = (BIT2|BIT6); +static int rtw_load_phy_file = (BIT2 | BIT6); module_param(rtw_load_phy_file, int, 0644); MODULE_PARM_DESC(rtw_load_phy_file,"PHY File Bit Map"); static int rtw_decrypt_phy_file = 0; @@ -255,8 +255,8 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev) registry_par->vrtl_carrier_sense = (u8)rtw_vrtl_carrier_sense ; registry_par->vcs_type = (u8)rtw_vcs_type; - registry_par->rts_thresh =(u16)rtw_rts_thresh; - registry_par->frag_thresh =(u16)rtw_frag_thresh; + registry_par->rts_thresh = (u16)rtw_rts_thresh; + registry_par->frag_thresh = (u16)rtw_frag_thresh; registry_par->preamble = (u8)rtw_preamble; registry_par->scan_mode = (u8)rtw_scan_mode; registry_par->adhoc_tx_pwr = (u8)rtw_adhoc_tx_pwr; @@ -440,7 +440,7 @@ u16 rtw_recv_select_queue(struct sk_buff *skb) u32 priority; u8 *pdata = skb->data; - memcpy(ð_type, pdata+(ETH_ALEN<<1), 2); + memcpy(ð_type, pdata+(ETH_ALEN << 1), 2); switch (be16_to_cpu(eth_type)) { case ETH_P_IP: @@ -652,8 +652,8 @@ static u8 rtw_init_default_value(struct adapter *padapter) #ifdef CONFIG_GTK_OL psecuritypriv->binstallKCK_KEK = _FAIL; #endif /* CONFIG_GTK_OL */ - psecuritypriv->sw_encrypt =pregistrypriv->software_encrypt; - psecuritypriv->sw_decrypt =pregistrypriv->software_decrypt; + psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; + psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; @@ -748,7 +748,7 @@ u8 rtw_reset_drv_sw(struct adapter *padapter) pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; - _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY |_FW_UNDER_LINKING); + _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING); pwrctrlpriv->pwr_state_check_cnts = 0; @@ -777,7 +777,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter) goto exit; } - padapter->cmdpriv.padapter =padapter; + padapter->cmdpriv.padapter = padapter; if ((rtw_init_evt_priv(&padapter->evtpriv)) == _FAIL) { RT_TRACE(_module_os_intfs_c_, _drv_err_, ("\n Can't init evt_priv\n")); @@ -986,7 +986,7 @@ int _netdev_open(struct net_device *pnetdev) DBG_871X("MAC Address = "MAC_FMT"\n", MAC_ARG(pnetdev->dev_addr)); - status =rtw_start_drv_threads(padapter); + status = rtw_start_drv_threads(padapter); if (status == _FAIL) { DBG_871X("Initialize driver software resource Failed!\n"); goto netdev_open_error; @@ -1641,7 +1641,7 @@ int rtw_resume_process_wow(struct adapter *padapter) } /* Disable WOW, set H2C command */ - poidparam.subcode =WOWLAN_DISABLE; + poidparam.subcode = WOWLAN_DISABLE; padapter->HalFunc.SetHwRegHandler(padapter, HW_VAR_WOWLAN, (u8 *)&poidparam); psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(&padapter->mlmepriv)); @@ -1705,7 +1705,7 @@ int rtw_resume_process_wow(struct adapter *padapter) DBG_871X_LEVEL(_drv_always_, "do not reset timer\n"); } - pwrpriv->wowlan_mode =false; + pwrpriv->wowlan_mode = false; /* clean driver side wake up reason. */ pwrpriv->wowlan_wake_reason = 0; -- 1.9.1Quoted 3 lines
Hi,
I am trying to send patchset for this file with 10 commits but unable to send it. I am following thishttps://kernelnewbies.org/Outreachyfirstpatch
Quoted 2 lines
and with this command "git format-patch -o
/tmp/--cover-letter -n --thread=shallow --cc="[email protected] <javascript:>"7b2a57c^..f46968c"
Quoted 2 lines
no matches found: 7b2a57c^..f46968c.
But these commit ID's exist in"git log --pretty=oneline --abbrev-commit" .
Quoted 1 line
Can you please help ?
Quoted 8 lines
A similar command line works for me. Are you sure that
git log --pretty=oneline --abbrev-commit 7b2a57c^..f46968c
works? Just copy-paste it from the mail, don't retype anything.
julia
No, this command "git log --pretty=oneline --abbrev-commit 7b2a57c^..f46968c" also gives no matches found but
"git log --pretty=oneline --abbrev-commit " shows these commit ID's.
Thanks.
Quoted 22 lines
Quoted 9 lines
Thanks a lot.
Regards,
Harsha SharmaSignature · 1 line
You received this message because you are subscribed to the GoogleGroups
Quoted 2 lines
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, sendan
Quoted 2 lines
email to [email protected] <javascript:>. To post to this group, send email to [email protected]
<javascript:>.
Quoted 1 line
To view this discussion on the web visithttps://
groups.google.com/d/msgid/outreachy-kernel/78b23708-60d8-47dd-9bea-
Quoted 4 lines
94a1eb29bbeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 3 lines
No, this command "git log --pretty=oneline --abbrev-commit 7b2a57c^..f46968c" also gives no matches found but
"git log --pretty=oneline --abbrev-commit " shows these commit ID's.
What is the does
git log --oneline | head -20 give?
julia
Quoted 10 lines · Julia Lawall
Quoted 4 lines
No, this command "git log --pretty=oneline --abbrev-commit 7b2a57c^..f46968c" also gives no matches found but
"git log --pretty=oneline --abbrev-commit " shows these commit ID's.What is the does
git log --oneline | head -20 give?
This contains the output of above command.
https://gist.github.com/hs256/c4549dbaf7ce0e76a280781faff8d2d9
Thanks .
julia
Quoted 8 lines · Harsha Sharma
On Sunday, September 10, 2017 at 5:49:29 PM UTC+5:30, Julia Lawall wrote:
> No, this command "git log --pretty=oneline --abbrev-commit > 7b2a57c^..f46968c" also gives no matches found but
> "git log --pretty=oneline --abbrev-commit " shows these commit ID's.
Quoted 6 lines
What is the does
git log --oneline | head -20 give?
This contains the output of above command.
https://gist.github.com/hs256/c4549dbaf7ce0e76a280781faff8d2d9
Git log linearizes the commits. Maybe there is some problem in this respect. The folowing discussion shows ways to get the parent of a commit. Maybe you can check that each of your commits has the parent as the previous one:
https://stackoverflow.com/questions/44112593/how-to-get-parent-of-specific-commit-in-git
julia
Quoted 16 lines
Thanks .
julia
--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/d57755da-b3c9-464b-bee2- 33e497a558c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.