* [B.A.T.M.A.N.] [PATCH] batman-adv: Remove space before semicolon
@ 2012-06-17 14:21 Sven Eckelmann
2012-06-17 14:27 ` [B.A.T.M.A.N.] [PATCHv2] " Sven Eckelmann
0 siblings, 1 reply; 3+ messages in thread
From: Sven Eckelmann @ 2012-06-17 14:21 UTC (permalink / raw)
To: b.a.t.m.a.n
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
This one is for next... thx
hash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hash.c b/hash.c
index 2b16381..0759c70 100644
--- a/hash.c
+++ b/hash.c
@@ -73,6 +73,6 @@ void batadv_hash_set_lock_class(struct batadv_hashtable *hash,
{
uint32_t i;
- for (i = 0 ; i < hash->size; i++)
+ for (i = 0; i < hash->size; i++)
lockdep_set_class(&hash->list_locks[i], key);
}
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [B.A.T.M.A.N.] [PATCHv2] batman-adv: Remove space before semicolon
2012-06-17 14:21 [B.A.T.M.A.N.] [PATCH] batman-adv: Remove space before semicolon Sven Eckelmann
@ 2012-06-17 14:27 ` Sven Eckelmann
2012-06-22 17:50 ` Marek Lindner
0 siblings, 1 reply; 3+ messages in thread
From: Sven Eckelmann @ 2012-06-17 14:27 UTC (permalink / raw)
To: b.a.t.m.a.n
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
This cleanup is for next
bridge_loop_avoidance.c | 2 +-
hash.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bridge_loop_avoidance.c b/bridge_loop_avoidance.c
index 38aab1e..49e10d9 100644
--- a/bridge_loop_avoidance.c
+++ b/bridge_loop_avoidance.c
@@ -1222,7 +1222,7 @@ int batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv,
/* calculate the crc ... */
crc = crc16(0, content, length);
- for (i = 0 ; i < BATADV_DUPLIST_SIZE; i++) {
+ for (i = 0; i < BATADV_DUPLIST_SIZE; i++) {
curr = (bat_priv->bcast_duplist_curr + i) % BATADV_DUPLIST_SIZE;
entry = &bat_priv->bcast_duplist[curr];
diff --git a/hash.c b/hash.c
index 2b16381..15a849c 100644
--- a/hash.c
+++ b/hash.c
@@ -25,7 +25,7 @@ static void batadv_hash_init(struct batadv_hashtable *hash)
{
uint32_t i;
- for (i = 0 ; i < hash->size; i++) {
+ for (i = 0; i < hash->size; i++) {
INIT_HLIST_HEAD(&hash->table[i]);
spin_lock_init(&hash->list_locks[i]);
}
@@ -73,6 +73,6 @@ void batadv_hash_set_lock_class(struct batadv_hashtable *hash,
{
uint32_t i;
- for (i = 0 ; i < hash->size; i++)
+ for (i = 0; i < hash->size; i++)
lockdep_set_class(&hash->list_locks[i], key);
}
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Remove space before semicolon
2012-06-17 14:27 ` [B.A.T.M.A.N.] [PATCHv2] " Sven Eckelmann
@ 2012-06-22 17:50 ` Marek Lindner
0 siblings, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2012-06-22 17:50 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Sunday, June 17, 2012 16:27:22 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>
> This cleanup is for next
>
> bridge_loop_avoidance.c | 2 +-
> hash.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied in revision f2867c4.
Thanks,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-22 17:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-17 14:21 [B.A.T.M.A.N.] [PATCH] batman-adv: Remove space before semicolon Sven Eckelmann
2012-06-17 14:27 ` [B.A.T.M.A.N.] [PATCHv2] " Sven Eckelmann
2012-06-22 17:50 ` Marek Lindner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.