summaryrefslogtreecommitdiff
path: root/net/batman-adv
diff options
context:
space:
mode:
authorMarek Lindner <mareklindner@neomailbox.ch>2015-02-18 17:19:20 +0300
committerAntonio Quartulli <antonio@meshcoding.com>2015-05-29 11:13:37 +0300
commitfc1f86936651191ca51e532083206efb351ccd9c (patch)
treea4badf0be2b2f86a9ecae1505898ae491d0af6b5 /net/batman-adv
parent00f548bf5494ade996ae9c5e85c497dd2a3fdad5 (diff)
downloadlinux-fc1f86936651191ca51e532083206efb351ccd9c.tar.xz
batman-adv: checkpatch - spaces preferred around that '*'
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/main.h2
-rw-r--r--net/batman-adv/network-coding.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 11d2d9fbfc5e..026ba37f31a6 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -44,7 +44,7 @@
#define BATADV_TT_CLIENT_TEMP_TIMEOUT 600000 /* in milliseconds */
#define BATADV_TT_WORK_PERIOD 5000 /* 5 seconds */
#define BATADV_ORIG_WORK_PERIOD 1000 /* 1 second */
-#define BATADV_DAT_ENTRY_TIMEOUT (5*60000) /* 5 mins in milliseconds */
+#define BATADV_DAT_ENTRY_TIMEOUT (5 * 60000) /* 5 mins in milliseconds */
/* sliding packet range of received originator messages in sequence numbers
* (should be a multiple of our word size)
*/
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c
index 4cb70bb4c3e8..b984bc49deaf 100644
--- a/net/batman-adv/network-coding.c
+++ b/net/batman-adv/network-coding.c
@@ -275,7 +275,7 @@ static bool batadv_nc_to_purge_nc_path_decoding(struct batadv_priv *bat_priv,
* max_buffer time
*/
return batadv_has_timed_out(nc_path->last_valid,
- bat_priv->nc.max_buffer_time*10);
+ bat_priv->nc.max_buffer_time * 10);
}
/**