diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-02-28 04:55:36 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-28 06:14:31 -0500 |
commit | 7c64fd98ce512de6c6dae0452dc026446bd368d5 (patch) | |
tree | 81b5a3df9c7937f1d85cc9f32841fe9b949ca0bb /net/batman-adv/translation-table.c | |
parent | fdc8ff101163f10d36187a890a3c4990cebb8b12 (diff) |
batman-adv: Fix indentation of multiline statements
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 9a6f315b7d44..c9507057c98e 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -261,7 +261,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv, | |||
261 | atomic_set(&bat_priv->tt_local_changes, 0); | 261 | atomic_set(&bat_priv->tt_local_changes, 0); |
262 | 262 | ||
263 | list_for_each_entry_safe(entry, safe, &bat_priv->tt_changes_list, | 263 | list_for_each_entry_safe(entry, safe, &bat_priv->tt_changes_list, |
264 | list) { | 264 | list) { |
265 | if (count < tot_changes) { | 265 | if (count < tot_changes) { |
266 | memcpy(buff + tt_len(count), | 266 | memcpy(buff + tt_len(count), |
267 | &entry->change, sizeof(struct tt_change)); | 267 | &entry->change, sizeof(struct tt_change)); |
@@ -333,17 +333,17 @@ int tt_local_seq_print_text(struct seq_file *seq, void *offset) | |||
333 | hlist_for_each_entry_rcu(tt_common_entry, node, | 333 | hlist_for_each_entry_rcu(tt_common_entry, node, |
334 | head, hash_entry) { | 334 | head, hash_entry) { |
335 | seq_printf(seq, " * %pM [%c%c%c%c%c]\n", | 335 | seq_printf(seq, " * %pM [%c%c%c%c%c]\n", |
336 | tt_common_entry->addr, | 336 | tt_common_entry->addr, |
337 | (tt_common_entry->flags & | 337 | (tt_common_entry->flags & |
338 | TT_CLIENT_ROAM ? 'R' : '.'), | 338 | TT_CLIENT_ROAM ? 'R' : '.'), |
339 | (tt_common_entry->flags & | 339 | (tt_common_entry->flags & |
340 | TT_CLIENT_NOPURGE ? 'P' : '.'), | 340 | TT_CLIENT_NOPURGE ? 'P' : '.'), |
341 | (tt_common_entry->flags & | 341 | (tt_common_entry->flags & |
342 | TT_CLIENT_NEW ? 'N' : '.'), | 342 | TT_CLIENT_NEW ? 'N' : '.'), |
343 | (tt_common_entry->flags & | 343 | (tt_common_entry->flags & |
344 | TT_CLIENT_PENDING ? 'X' : '.'), | 344 | TT_CLIENT_PENDING ? 'X' : '.'), |
345 | (tt_common_entry->flags & | 345 | (tt_common_entry->flags & |
346 | TT_CLIENT_WIFI ? 'W' : '.')); | 346 | TT_CLIENT_WIFI ? 'W' : '.')); |
347 | } | 347 | } |
348 | rcu_read_unlock(); | 348 | rcu_read_unlock(); |
349 | } | 349 | } |
@@ -704,7 +704,7 @@ void tt_global_del_orig(struct bat_priv *bat_priv, | |||
704 | 704 | ||
705 | spin_lock_bh(list_lock); | 705 | spin_lock_bh(list_lock); |
706 | hlist_for_each_entry_safe(tt_common_entry, node, safe, | 706 | hlist_for_each_entry_safe(tt_common_entry, node, safe, |
707 | head, hash_entry) { | 707 | head, hash_entry) { |
708 | tt_global_entry = container_of(tt_common_entry, | 708 | tt_global_entry = container_of(tt_common_entry, |
709 | struct tt_global_entry, | 709 | struct tt_global_entry, |
710 | common); | 710 | common); |