Skip to content

Commit

Permalink
batman-adv: format multi-line if in the correct way
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
  • Loading branch information
Antonio Quartulli authored and Marek Lindner committed Dec 6, 2011
1 parent 2ef04f4 commit 69497c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/batman-adv/routing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 69497c1

Please sign in to comment.