staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl
PATCH 1/1 staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl
drivers/staging/rtl8188eu/core/rtw_ap.c +4 -6
@@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adapter *padapter)struct sta_priv *pstapriv = &padapter->stapriv;struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; -spin_lock_init (&pmlmepriv->bcn_update_lock);/* for ACL */
@@ -45,7 +44,7 @@ void free_mlme_ap_info(struct adapter *padapter)struct sta_priv *pstapriv = &padapter->stapriv;struct mlme_priv *pmlmepriv = &padapter->mlmepriv;struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; -struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); +struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; pmlmepriv->update_bcn = false; pmlmeext->bstart_bss = false;
@@ -98,7 +97,7 @@ static void update_BCNTIM(struct adapter *padapter) &tmp_len, (pnetwork_mlmeext->IELength - _BEACON_IE_OFFSET_));if (p) - offset += tmp_len+2 ; + offset += tmp_len +2 ;/* DS Parameter Set IE, len = 3 */ offset +=3 ;
@@ -120,7 +119,7 @@ static void update_BCNTIM(struct adapter *padapter) } *dst_ie++ = _TIM_IE_; -if ((pstapriv->tim_bitmap&0xff00 ) && (pstapriv->tim_bitmap&0x00fc )) +if ((pstapriv->tim_bitmap &0xff00 ) && (pstapriv->tim_bitmap &0x00fc )) tim_ielen =5 ;else tim_ielen =4 ;
@@ -130,7 +129,7 @@ static void update_BCNTIM(struct adapter *padapter) *dst_ie++ =0 ;/* DTIM count */ *dst_ie++ =1 ;/* DTIM period */ -if (pstapriv->tim_bitmap&BIT (0 ))/* for bc/mc frames */ +if (pstapriv->tim_bitmap &BIT (0 ))/* for bc/mc frames */ *dst_ie++ =BIT (0 );/* bitmap ctrl */ else *dst_ie++ =0 ;
@@ -315,7 +314,6 @@ void expire_timeout_chk(struct adapter *padapter)spin_lock_bh (&pstapriv->auth_list_lock); } } - }spin_unlock_bh (&pstapriv->auth_list_lock);
Greg KH
maintainerQuoted 1 line · Andrii
Signed-off-by Andrii Vladyka <[email protected]>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.
You are receiving this message because of the following common error(s) as indicated below:
- Your patch did many different things all at once, making it difficult to review. All Linux kernel patches need to only do one thing at a time. If you need to do multiple things (such as clean up all coding style issues in a file/driver), do it in a sequence of patches, each one doing only one thing. This will make it easier to review the patches to ensure that they are correct, and to help alleviate any merge issues that larger patches can cause.
- You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change.
- You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like.
If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.
thanks,
greg k-h's patch email bot
PATCH 1/1 staging: rtl8188eu: fix multiple blank lines coding style problem
In reply to Andriidrivers/staging/rtl8188eu/core/rtw_ap.c +0 -1
@@ -30,7 +30,6 @@ void init_mlme_ap_info(struct adapter *padapter)struct sta_priv *pstapriv = &padapter->stapriv;struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; -spin_lock_init (&pmlmepriv->bcn_update_lock);/* for ACL */
Greg KH
maintainerRe: [PATCH] staging: rtl8188eu: fix multiple blank lines coding style problem
Quoted 1 line · Andrii
Signed-off-by Andrii Vladyka <[email protected]>
{sigh}
Please go read the patch-bot items, you did not fix all of the issues it raised.
Take some time, fix them up, and wait a day or so before resending. There is no rush.
greg k-h
Greg KH
maintainerQuoted 1 line · Andrii
Signed-off-by Andrii Vladyka <[email protected]>
I can't take a patch without any changelog text :(
Also, your From: line does not match your signed-off-by line :(