[OPW,kernel,04/13] staging: rtl8187se: open brace following function declarations go on the next line
diff mbox

Message ID 1382316061-31542-5-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 21, 2013, 12:40 a.m. UTC
This patch fixes the following checkpatch error:

staging/rtl8187se/ieee80211/ieee80211_tx.c:232:
ERROR: open brace '{' following function declarations go on the next
line

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Josh Triplett Oct. 21, 2013, 7:02 p.m. UTC | #1
On Mon, Oct 21, 2013 at 03:40:52AM +0300, Teodora Baluta wrote:
> This patch fixes the following checkpatch error:
> 
> staging/rtl8187se/ieee80211/ieee80211_tx.c:232:
> ERROR: open brace '{' following function declarations go on the next
> line
> 
> Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index 887409b..af41f2c 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -229,7 +229,8 @@ int ieee80211_encrypt_fragment(
>  }
>  
>  
> -void ieee80211_txb_free(struct ieee80211_txb *txb) {
> +void ieee80211_txb_free(struct ieee80211_txb *txb)
> +{
>  	int i;
>  	if (unlikely(!txb))
>  		return;
> -- 
> 1.7.10.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Patch
diff mbox

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 887409b..af41f2c 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -229,7 +229,8 @@  int ieee80211_encrypt_fragment(
 }
 
 
-void ieee80211_txb_free(struct ieee80211_txb *txb) {
+void ieee80211_txb_free(struct ieee80211_txb *txb)
+{
 	int i;
 	if (unlikely(!txb))
 		return;