Skip to content

Commit

Permalink
netfilter-bridge: brace placement
Browse files Browse the repository at this point in the history
Change brace placement to eliminate checkpatch error.

No changes detected by objdiff.

Signed-off-by: Ian Morris <ipm@chirality.org.uk>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  • Loading branch information
Ian Morris authored and Pablo Neira Ayuso committed Nov 23, 2015
1 parent 7f495ad commit abcdd9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions net/bridge/netfilter/ebt_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
3 changes: 1 addition & 2 deletions net/bridge/netfilter/ebtables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit abcdd9a

Please sign in to comment.