lkml.org 
[lkml]   [2012]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/8] staging: wlags49_h2: wl_if.h: fixes brace placement
Date
This commit fixes incorrect brace placement, as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
---
drivers/staging/wlags49_h2/wl_if.h | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_if.h b/drivers/staging/wlags49_h2/wl_if.h
index 61193b3..351d29b 100644
--- a/drivers/staging/wlags49_h2/wl_if.h
+++ b/drivers/staging/wlags49_h2/wl_if.h
@@ -175,20 +175,17 @@ UIL_FUN_PUT_INFO
/*******************************************************************************
* STRUCTURE DEFINITIONS
******************************************************************************/
-typedef struct
-{
+typedef struct {
__u16 length;
__u8 name[HCF_MAX_NAME_LEN];
}
wvName_t;


-typedef struct
-{
+typedef struct {
hcf_16 len;
hcf_16 typ;
- union
- {
+ union {
hcf_8 u8[MAX_LTV_BUF_SIZE / sizeof(hcf_8)];
hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)];
hcf_32 u32[MAX_LTV_BUF_SIZE / sizeof(hcf_32)];
@@ -197,10 +194,8 @@ typedef struct
ltv_t;


-struct uilreq
-{
- union
- {
+struct uilreq {
+ union {
char ifrn_name[IFNAMSIZ];
} ifr_ifrn;

@@ -216,10 +211,8 @@ struct uilreq
};


-struct rtsreq
-{
- union
- {
+struct rtsreq {
+ union {
char ifrn_name[IFNAMSIZ];
}
ifr_ifrn;
--
1.7.10.4


\
 
 \ /
  Last update: 2012-11-20 21:21    [W:0.058 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site