From: Ian Morris <ipm@chirality.org.uk>
To: netfilter-devel@vger.kernel.org
Cc: Ian Morris <ipm@chirality.org.uk>
Subject: [PATCH nf-next 3/4] netfilter-bridge: brace placement
Date: Mon, 26 Oct 2015 09:10:42 +0000 [thread overview]
Message-ID: <1445850643-9186-4-git-send-email-ipm@chirality.org.uk> (raw)
In-Reply-To: <1445850643-9186-1-git-send-email-ipm@chirality.org.uk>
Change brace placement to eliminate checkpatch error.
No changes detected by objdiff.
Signed-off-by: Ian Morris <ipm@chirality.org.uk>
---
net/bridge/netfilter/ebt_log.c | 6 ++----
net/bridge/netfilter/ebtables.c | 3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c
index f22284d..152300d 100644
--- a/net/bridge/netfilter/ebt_log.c
+++ b/net/bridge/netfilter/ebt_log.c
@@ -36,14 +36,12 @@ static int ebt_log_tg_check(const struct xt_tgchk_param *par)
return 0;
}
-struct tcpudphdr
-{
+struct tcpudphdr {
__be16 src;
__be16 dst;
};
-struct arppayload
-{
+struct arppayload {
unsigned char mac_src[ETH_ALEN];
unsigned char ip_src[4];
unsigned char mac_dst[ETH_ALEN];
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c
index 62090e2..b13ea69 100644
--- a/net/bridge/netfilter/ebtables.c
+++ b/net/bridge/netfilter/ebtables.c
@@ -551,8 +551,7 @@ ebt_check_entry_size_and_hooks(const struct ebt_entry *e,
return 0;
}
-struct ebt_cl_stack
-{
+struct ebt_cl_stack {
struct ebt_chainstack cs;
int from;
unsigned int hookmask;
--
1.9.1
next prev parent reply other threads:[~2015-10-26 9:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 9:10 [PATCH nf-next 0/4] netfilter: bridge coding style Ian Morris
2015-10-26 9:10 ` [PATCH nf-next 1/4] netfilter-bridge: Cleanse indentation Ian Morris
2015-10-26 9:10 ` [PATCH nf-next 2/4] netfilter-bridge: use netdev style comments Ian Morris
2015-10-26 9:10 ` Ian Morris [this message]
2015-10-26 9:10 ` [PATCH nf-next 4/4] netfilter-bridge: layout of if statements Ian Morris
2015-11-23 16:55 ` [PATCH nf-next 0/4] netfilter: bridge coding style Pablo Neira Ayuso
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=1445850643-9186-4-git-send-email-ipm@chirality.org.uk \
--to=ipm@chirality.org.uk \
--cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).