diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-17 07:03:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:04 -0400 |
commit | 3110dc7a8660ea1617afac2a55e3d18ae6ce141b (patch) | |
tree | 616aaa6975f236c220b35271e1fbfddfe658a547 /drivers/misc/ibmasm/i2o.h | |
parent | 567f3e422a9a155d7c7643148efb5bf959065d34 (diff) |
IBMASM: whitespace cleanup
IBMASM: whitespace cleanup
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Vernon Mauery <vernux@us.ibm.com>
Cc: Max Asbock <masbock@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ibmasm/i2o.h')
-rw-r--r-- | drivers/misc/ibmasm/i2o.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/ibmasm/i2o.h b/drivers/misc/ibmasm/i2o.h index 958c957a5e75..bf2c738d2b72 100644 --- a/drivers/misc/ibmasm/i2o.h +++ b/drivers/misc/ibmasm/i2o.h | |||
@@ -17,7 +17,7 @@ | |||
17 | * | 17 | * |
18 | * Copyright (C) IBM Corporation, 2004 | 18 | * Copyright (C) IBM Corporation, 2004 |
19 | * | 19 | * |
20 | * Author: Max Asböck <amax@us.ibm.com> | 20 | * Author: Max Asböck <amax@us.ibm.com> |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
@@ -26,9 +26,9 @@ struct i2o_header { | |||
26 | u8 version; | 26 | u8 version; |
27 | u8 message_flags; | 27 | u8 message_flags; |
28 | u16 message_size; | 28 | u16 message_size; |
29 | u8 target; | 29 | u8 target; |
30 | u8 initiator_and_target; | 30 | u8 initiator_and_target; |
31 | u8 initiator; | 31 | u8 initiator; |
32 | u8 function; | 32 | u8 function; |
33 | u32 initiator_context; | 33 | u32 initiator_context; |
34 | }; | 34 | }; |
@@ -64,12 +64,12 @@ static inline unsigned short outgoing_message_size(unsigned int data_size) | |||
64 | size = sizeof(struct i2o_header) + data_size; | 64 | size = sizeof(struct i2o_header) + data_size; |
65 | 65 | ||
66 | i2o_size = size / sizeof(u32); | 66 | i2o_size = size / sizeof(u32); |
67 | 67 | ||
68 | if (size % sizeof(u32)) | 68 | if (size % sizeof(u32)) |
69 | i2o_size++; | 69 | i2o_size++; |
70 | 70 | ||
71 | return i2o_size; | 71 | return i2o_size; |
72 | } | 72 | } |
73 | 73 | ||
74 | static inline u32 incoming_data_size(struct i2o_message *i2o_message) | 74 | static inline u32 incoming_data_size(struct i2o_message *i2o_message) |
75 | { | 75 | { |