b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: format multi-line if in the correct way
@ 2011-12-02 16:38 Antonio Quartulli
  2011-12-03  7:20 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2011-12-02 16:38 UTC (permalink / raw)
  To: b.a.t.m.a.n

in an multi-line if statement leading edges should line up to the opening
parenthesis

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 routing.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/routing.c b/routing.c
index d5ddbd1..4363d19 100644
--- a/routing.c
+++ b/routing.c
@@ -627,8 +627,7 @@ int recv_tt_query(struct sk_buff *skb, struct hard_iface *recv_if)
 
 			/* Ensure we have all the claimed data */
 			if (unlikely(skb_headlen(skb) <
-					sizeof(struct tt_query_packet) +
-					tt_len))
+				     sizeof(struct tt_query_packet) + tt_len))
 				goto out;
 
 			handle_tt_response(bat_priv, tt_query);
-- 
1.7.3.4


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

* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: format multi-line if in the correct way
  2011-12-02 16:38 [B.A.T.M.A.N.] [PATCH] batman-adv: format multi-line if in the correct way Antonio Quartulli
@ 2011-12-03  7:20 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-12-03  7:20 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

On Saturday, December 03, 2011 00:38:52 Antonio Quartulli wrote:
> in an multi-line if statement leading edges should line up to the opening
> parenthesis
> 
> Reported-by: David Miller <davem@davemloft.net>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>

Applied in revision 8dd0e99.

Thanks,
Marek

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

end of thread, other threads:[~2011-12-03  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-02 16:38 [B.A.T.M.A.N.] [PATCH] batman-adv: format multi-line if in the correct way Antonio Quartulli
2011-12-03  7:20 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).