lkml.org 
[lkml]   [2013]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Events: 9p.h: Fixed a brace coding style issues
Date
From: "santosh.anbu" <asantosh.king@gmail.com>

Fixed few brace relate coding style issues

Signed-off-by: santosh.anbu <asantosh.king@gmail.com>
---
include/trace/events/9p.h | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/trace/events/9p.h b/include/trace/events/9p.h
index a066636..9b53b8a 100644
--- a/include/trace/events/9p.h
+++ b/include/trace/events/9p.h
@@ -83,9 +83,9 @@ TRACE_EVENT(9p_client_req,
TP_ARGS(clnt, type, tag),

TP_STRUCT__entry(
- __field( void *, clnt )
- __field( __u8, type )
- __field( __u32, tag )
+ __field( void *, clnt )
+ __field( __u8, type )
+ __field( __u32, tag )
),

TP_fast_assign(
@@ -97,7 +97,7 @@ TRACE_EVENT(9p_client_req,
TP_printk("client %lu request %s tag %d",
(long)__entry->clnt, show_9p_op(__entry->type),
__entry->tag)
- );
+);

TRACE_EVENT(9p_client_res,
TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
@@ -105,10 +105,10 @@ TRACE_EVENT(9p_client_res,
TP_ARGS(clnt, type, tag, err),

TP_STRUCT__entry(
- __field( void *, clnt )
- __field( __u8, type )
- __field( __u32, tag )
- __field( __u32, err )
+ __field( void *, clnt )
+ __field( __u8, type )
+ __field( __u32, tag )
+ __field( __u32, err )
),

TP_fast_assign(
@@ -131,9 +131,9 @@ TRACE_EVENT(9p_protocol_dump,
TP_ARGS(clnt, pdu),

TP_STRUCT__entry(
- __field( void *, clnt )
- __field( __u8, type )
- __field( __u16, tag )
+ __field( void *, clnt )
+ __field( __u8, type )
+ __field( __u16, tag )
__array( unsigned char, line, P9_PROTO_DUMP_SZ )
),

@@ -146,7 +146,7 @@ TRACE_EVENT(9p_protocol_dump,
TP_printk("clnt %lu %s(tag = %d)\n%.3x: %16ph\n%.3x: %16ph\n",
(unsigned long)__entry->clnt, show_9p_op(__entry->type),
__entry->tag, 0, __entry->line, 16, __entry->line + 16)
- );
+);

#endif /* _TRACE_9P_H */

--
1.8.1.2


\
 
 \ /
  Last update: 2013-07-27 19:41    [W:0.031 / U:2.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site