projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef04f4
)
batman-adv: format multi-line if in the correct way
author
Antonio Quartulli
<ordex@autistici.org>
Fri, 2 Dec 2011 16:38:52 +0000
(17:38 +0100)
committer
Marek Lindner
<lindner_marek@yahoo.de>
Tue, 6 Dec 2011 18:45:59 +0000
(
02:45
+0800)
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>
net/batman-adv/routing.c
patch
|
blob
|
blame
|
history
diff --git
a/net/batman-adv/routing.c
b/net/batman-adv/routing.c
index ef24a7205f65beaf3737da6a5389798a5f2f6836..773e606f9702bfcc04b7c41ddf2234790fb205c0 100644
(file)
--- a/
net/batman-adv/routing.c
+++ b/
net/batman-adv/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);