* [B.A.T.M.A.N.] [PATCH] batman-adv: fix comment style and typo
@ 2012-05-12 12:38 Antonio Quartulli
2012-05-13 16:00 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2012-05-12 12:38 UTC (permalink / raw)
To: b.a.t.m.a.n
Fix to David's style
Introduced by b46c60b9e1ee7a1909c542413a85875a750955d6
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
This patch is for next
routing.c | 3 ++-
translation-table.c | 3 ++-
unicast.c | 5 +++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/routing.c b/routing.c
index 2181a91..4f2059f 100644
--- a/routing.c
+++ b/routing.c
@@ -922,7 +922,8 @@ static int check_unicast_ttvn(struct bat_priv *bat_priv,
sizeof(struct unicast_packet));
/* we don't have an updated route for this client, so we should
- * not try to reroute the packet!! */
+ * not try to reroute the packet!!
+ */
if (tt_global_client_is_roaming(bat_priv, ethhdr->h_dest))
return 1;
diff --git a/translation-table.c b/translation-table.c
index 88e4c8e..a66c2dc 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -2122,7 +2122,8 @@ request_table:
/* returns true whether we know that the client has moved from its old
* originator to another one. This entry is kept is still kept for consistency
- * purposes */
+ * purposes
+ */
bool tt_global_client_is_roaming(struct bat_priv *bat_priv, uint8_t *addr)
{
struct tt_global_entry *tt_global_entry;
diff --git a/unicast.c b/unicast.c
index 62ea9f1..e5c7999 100644
--- a/unicast.c
+++ b/unicast.c
@@ -395,10 +395,11 @@ find_router:
unicast_packet = (struct unicast_packet *)skb->data;
- /* inform the destination ode that we are still missing a correct route
+ /* inform the destination node that we are still missing a correct route
* for this client. The destination will receive this packet and will
* try to reroute it because the ttvn contained in the header is less
- * than the current one */
+ * than the current one
+ */
if (tt_global_client_is_roaming(bat_priv, ethhdr->h_dest))
unicast_packet->ttvn = unicast_packet->ttvn - 1;
--
1.7.9.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix comment style and typo
2012-05-12 12:38 [B.A.T.M.A.N.] [PATCH] batman-adv: fix comment style and typo Antonio Quartulli
@ 2012-05-13 16:00 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2012-05-13 16:00 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Saturday, May 12, 2012 20:38:01 Antonio Quartulli wrote:
> Fix to David's style
>
> Introduced by b46c60b9e1ee7a1909c542413a85875a750955d6
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
>
> This patch is for next
>
>
> routing.c | 3 ++-
> translation-table.c | 3 ++-
> unicast.c | 5 +++--
> 3 files changed, 7 insertions(+), 4 deletions(-)
Applied in revision ccf1183.
Thanks,
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-13 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 12:38 [B.A.T.M.A.N.] [PATCH] batman-adv: fix comment style and typo Antonio Quartulli
2012-05-13 16:00 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox