summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@nvidia.com>2021-01-25 10:20:40 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-26 16:26:50 -0800
commit3e841bacf72fd5fd98172c42bbc9ae7d461b6304 (patch)
tree79ee93d1132d385d3638244865b696d456441f4a /net/bridge
parent02c26940908fd31bb112e9742adedfb06eca19e1 (diff)
net: bridge: multicast: fix br_multicast_eht_set_entry_lookup indentation
Fix the messed up indentation in br_multicast_eht_set_entry_lookup(). Fixes: baa74d39ca39 ("net: bridge: multicast: add EHT source set handling functions") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com> Link: https://lore.kernel.org/r/20210125082040.13022-1-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_multicast_eht.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/bridge/br_multicast_eht.c b/net/bridge/br_multicast_eht.c
index a4fa1760bc8a..ff9b3ba37cab 100644
--- a/net/bridge/br_multicast_eht.c
+++ b/net/bridge/br_multicast_eht.c
@@ -85,15 +85,15 @@ br_multicast_eht_set_entry_lookup(struct net_bridge_group_eht_set *eht_set,
struct net_bridge_group_eht_set_entry *this;
int result;
- this = rb_entry(node, struct net_bridge_group_eht_set_entry,
- rb_node);
- result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
- if (result < 0)
- node = node->rb_left;
- else if (result > 0)
- node = node->rb_right;
- else
- return this;
+ this = rb_entry(node, struct net_bridge_group_eht_set_entry,
+ rb_node);
+ result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
+ if (result < 0)
+ node = node->rb_left;
+ else if (result > 0)
+ node = node->rb_right;
+ else
+ return this;
}
return NULL;