diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-06-17 10:54:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-17 18:53:01 -0400 |
commit | ae8509c420122866344bde1241e31858d0aa2fbc (patch) | |
tree | 5a026fe1729da4d5291951376683582cef9bf760 /net/tipc/link.c | |
parent | c0fee8aca7206264d5e3dcc4e60aaf86501f4ea1 (diff) |
tipc: cosmetic realignment of function arguments
No runtime code changes here. Just a realign of the function
arguments to start where the 1st one was, and fit as many args
as can be put in an 80 char line.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r-- | net/tipc/link.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index d34429d03c16..b852c94a784e 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -771,8 +771,7 @@ static void link_state_event(struct tipc_link *l_ptr, unsigned int event) | |||
771 | * link_bundle_buf(): Append contents of a buffer to | 771 | * link_bundle_buf(): Append contents of a buffer to |
772 | * the tail of an existing one. | 772 | * the tail of an existing one. |
773 | */ | 773 | */ |
774 | static int link_bundle_buf(struct tipc_link *l_ptr, | 774 | static int link_bundle_buf(struct tipc_link *l_ptr, struct sk_buff *bundler, |
775 | struct sk_buff *bundler, | ||
776 | struct sk_buff *buf) | 775 | struct sk_buff *buf) |
777 | { | 776 | { |
778 | struct tipc_msg *bundler_msg = buf_msg(bundler); | 777 | struct tipc_msg *bundler_msg = buf_msg(bundler); |
@@ -1064,8 +1063,7 @@ static int link_send_buf_fast(struct tipc_link *l_ptr, struct sk_buff *buf, | |||
1064 | */ | 1063 | */ |
1065 | int tipc_link_send_sections_fast(struct tipc_port *sender, | 1064 | int tipc_link_send_sections_fast(struct tipc_port *sender, |
1066 | struct iovec const *msg_sect, | 1065 | struct iovec const *msg_sect, |
1067 | const u32 num_sect, | 1066 | const u32 num_sect, unsigned int total_len, |
1068 | unsigned int total_len, | ||
1069 | u32 destaddr) | 1067 | u32 destaddr) |
1070 | { | 1068 | { |
1071 | struct tipc_msg *hdr = &sender->phdr; | 1069 | struct tipc_msg *hdr = &sender->phdr; |
@@ -1155,8 +1153,7 @@ exit: | |||
1155 | */ | 1153 | */ |
1156 | static int link_send_sections_long(struct tipc_port *sender, | 1154 | static int link_send_sections_long(struct tipc_port *sender, |
1157 | struct iovec const *msg_sect, | 1155 | struct iovec const *msg_sect, |
1158 | u32 num_sect, | 1156 | u32 num_sect, unsigned int total_len, |
1159 | unsigned int total_len, | ||
1160 | u32 destaddr) | 1157 | u32 destaddr) |
1161 | { | 1158 | { |
1162 | struct tipc_link *l_ptr; | 1159 | struct tipc_link *l_ptr; |
@@ -1408,7 +1405,7 @@ static void link_reset_all(unsigned long addr) | |||
1408 | } | 1405 | } |
1409 | 1406 | ||
1410 | static void link_retransmit_failure(struct tipc_link *l_ptr, | 1407 | static void link_retransmit_failure(struct tipc_link *l_ptr, |
1411 | struct sk_buff *buf) | 1408 | struct sk_buff *buf) |
1412 | { | 1409 | { |
1413 | struct tipc_msg *msg = buf_msg(buf); | 1410 | struct tipc_msg *msg = buf_msg(buf); |
1414 | 1411 | ||
@@ -1863,8 +1860,8 @@ static void link_handle_out_of_seq_msg(struct tipc_link *l_ptr, | |||
1863 | * Send protocol message to the other endpoint. | 1860 | * Send protocol message to the other endpoint. |
1864 | */ | 1861 | */ |
1865 | void tipc_link_send_proto_msg(struct tipc_link *l_ptr, u32 msg_typ, | 1862 | void tipc_link_send_proto_msg(struct tipc_link *l_ptr, u32 msg_typ, |
1866 | int probe_msg, u32 gap, u32 tolerance, | 1863 | int probe_msg, u32 gap, u32 tolerance, |
1867 | u32 priority, u32 ack_mtu) | 1864 | u32 priority, u32 ack_mtu) |
1868 | { | 1865 | { |
1869 | struct sk_buff *buf = NULL; | 1866 | struct sk_buff *buf = NULL; |
1870 | struct tipc_msg *msg = l_ptr->pmsg; | 1867 | struct tipc_msg *msg = l_ptr->pmsg; |
@@ -2107,8 +2104,7 @@ exit: | |||
2107 | * another bearer. Owner node is locked. | 2104 | * another bearer. Owner node is locked. |
2108 | */ | 2105 | */ |
2109 | static void tipc_link_tunnel(struct tipc_link *l_ptr, | 2106 | static void tipc_link_tunnel(struct tipc_link *l_ptr, |
2110 | struct tipc_msg *tunnel_hdr, | 2107 | struct tipc_msg *tunnel_hdr, struct tipc_msg *msg, |
2111 | struct tipc_msg *msg, | ||
2112 | u32 selector) | 2108 | u32 selector) |
2113 | { | 2109 | { |
2114 | struct tipc_link *tunnel; | 2110 | struct tipc_link *tunnel; |