From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 7/8-master] batman-adv: Use {} braces consistent on the arms of a statement
Date: Wed, 7 Mar 2012 09:07:51 +0100 [thread overview]
Message-ID: <1331107673-8986-7-git-send-email-sven@narfation.org> (raw)
In-Reply-To: <1331107673-8986-1-git-send-email-sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
bridge_loop_avoidance.c | 3 ++-
translation-table.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/bridge_loop_avoidance.c b/bridge_loop_avoidance.c
index 1d6fb77..da220cf 100644
--- a/bridge_loop_avoidance.c
+++ b/bridge_loop_avoidance.c
@@ -1142,8 +1142,9 @@ int bla_init(struct bat_priv *bat_priv)
htons(crc16(0, primary_if->net_dev->dev_addr,
ETH_ALEN));
hardif_free_ref(primary_if);
- } else
+ } else {
bat_priv->claim_dest.group = 0; /* will be set later */
+ }
/* initialize the duplicate list */
for (i = 0; i < DUPLIST_SIZE; i++)
diff --git a/translation-table.c b/translation-table.c
index cdc7322..b889806 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -1618,8 +1618,9 @@ bool send_tt_response(struct bat_priv *bat_priv,
return true;
return send_my_tt_response(bat_priv, tt_request);
- } else
+ } else {
return send_other_tt_response(bat_priv, tt_request);
+ }
}
static void _tt_update_changes(struct bat_priv *bat_priv,
--
1.7.9.1
next prev parent reply other threads:[~2012-03-07 8:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 8:05 [B.A.T.M.A.N.] Fix of nightly checkpatch errors Sven Eckelmann
2012-03-07 8:07 ` [B.A.T.M.A.N.] Fix of nightly checkpatch errors [checkpatch.bundle] Sven Eckelmann
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 1/8-next] batman-adv: Ignore 80-chars per line limits for strings Sven Eckelmann
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 2/8-next] batman-adv: Don't begin block comments with only a /* line Sven Eckelmann
2012-03-10 21:38 ` Marek Lindner
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 3/8-next] batman-adv: Use {} braces consistent on the arms of a statement Sven Eckelmann
2012-03-10 21:40 ` Marek Lindner
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 4/8-next] batman-adv: Remove spaces after a cast Sven Eckelmann
2012-03-10 21:41 ` Marek Lindner
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 5/8-master] batman-adv: Ignore 80-chars per line limits for strings Sven Eckelmann
2012-03-10 21:58 ` Marek Lindner
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 6/8-master] batman-adv: Don't begin block comments with only a /* line Sven Eckelmann
2012-03-10 22:02 ` Marek Lindner
2012-03-07 8:07 ` Sven Eckelmann [this message]
2012-03-10 22:03 ` [B.A.T.M.A.N.] [PATCH 7/8-master] batman-adv: Use {} braces consistent on the arms of a statement Marek Lindner
2012-03-07 8:07 ` [B.A.T.M.A.N.] [PATCH 8/8-master] batman-adv: Remove spaces after a cast Sven Eckelmann
2012-03-10 22:04 ` Marek Lindner
2012-03-10 21:37 ` [B.A.T.M.A.N.] [PATCH 1/8-next] batman-adv: Ignore 80-chars per line limits for strings Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331107673-8986-7-git-send-email-sven@narfation.org \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox