batman-adv: format multi-line if in the correct way
Commit Message
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(-)
Comments
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
@@ -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);