public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2] batman-adv: Fix alignment of batadv_nc_hash_key_gen
@ 2013-01-30  7:27 Martin Hundebøll
  2013-01-31 15:57 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Hundebøll @ 2013-01-30  7:27 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Martin Hundebøll

Move second argument to first line and align third argument to the
opening parenthesis.

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
---

v2: Use two lines for arguments instead of three...

 network-coding.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/network-coding.c b/network-coding.c
index 262061b..e6b192c 100644
--- a/network-coding.c
+++ b/network-coding.c
@@ -371,9 +371,8 @@ static void batadv_nc_purge_paths(struct batadv_priv *bat_priv,
  * @src: source ethernet mac address going into the hash key
  * @dst: destination ethernet mac address going into the hash key
  */
-static void batadv_nc_hash_key_gen(struct batadv_nc_path *key,
-					  const char *src,
-					  const char *dst)
+static void batadv_nc_hash_key_gen(struct batadv_nc_path *key, const char *src,
+				   const char *dst)
 {
 	memcpy(key->prev_hop, src, sizeof(key->prev_hop));
 	memcpy(key->next_hop, dst, sizeof(key->next_hop));
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-31 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-30  7:27 [B.A.T.M.A.N.] [PATCHv2] batman-adv: Fix alignment of batadv_nc_hash_key_gen Martin Hundebøll
2013-01-31 15:57 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox